moved script things to head