Corrected build script