build-script fixed