Revert "Scripts to the head, again"

This reverts commit e9559babe8f6e4d3af62ae5631a3376d20dfe220.
Revert "Revert "Scripts to the head, again""

This reverts commit 59c35ece673065edfd5beb4e21c5d9d9a7f5667b.
Reverts everything to how it was, scripts in the body