Move scripts to the top.