Moves pre-build script before docroot removal