Revert "Move scripts to top"

This reverts commit 2251f272e4496d2e7d3f55f3c64c0c687134844a.