Made sure all necessary if statements were in place to check for the distro before running commands and removed the uneccessary hal install from the *ubuntu package installer