Add code for ConsoleApp. Need to provide correct flags.