Edited install script to make it more generic