added script to wait for machine to go up.