Move scripts to top