moved scripts to bottom of body