Moved scripts into head as per challenge code