Checking command case and if included in specfiec collections