Better command existent checking