Made a less completely unusable build script.