Have you tried just bringing it all into the script editor, running and then calling it afterwards? rather than through the directory, this should then give you an idea whether the problem is the directory or the actual script. Chris