moved scripts to body