adding moveFile function to scriptManager