Added some ifs in case needed softs are not installed