adjusted script placement

moved scripts to body