Changed case statements to use only single words

This should resolve syntax errors relating to the use of multiple words
as case statements.