Modifying scripts to allow for headless installation