added checkes to see if the script is inside a vagrant box.