moved scripts to post-body