added support for CSV context from command-line