Moves the newtab script in a file