Cheers thanks. This is a very handy tool, is there anyway to automate it?