Thank you Darrel for pointing me in the right direction, it works fine now!