moved installation commands to 'if' construct so that they are run only the very first time vm is booted