yeah i sorted it, just don't like pissing about in the script editor. And though it has solved it, I like to know what the initial problem was and what the command does to rectify the error.