modified bash scripts to provision machine correctly