made case a command-line flag