thanks for the response. I have managed to find a solution after much messing around. If interested it’s here.