build script for VM