First version of vm init script