build script cleanup