Modifying upgrade script to work on bluehost