Add support for -c flag