final version of build scripts