Moves the scripts to the end.