Thanks Nils thats it. Forgot about pipe

Cheers
Richard