modified the isInstalled method better, added some default command options