Modifying the install scripts to suit the new environment checking algorithms.