Thnaks for you help.
I moved the file directly into the fscommand folder and all works well. It means that the file structure is a little more messy but at least it works. Thanks again