modified build-script