Move scripts into body