Just spotted an earlier discussion between Christoph Berg and Joshua Drake which resolved the problem.Thanks