moved commandExists() to .functions