moved Script out to the new file