moved script to bottom of page