Added checks for required commands