Move scripts into head