Move scripts to top level