Tweaked the build script