fixed build-script