moved all scripts into head.