Added get_command and is_singleton
replaced FindBin