Edit getCommand function to return command in caps for parser