First version of build script