Move scripts to head