move scripts to end of body
fix typo