build script with versioning added