added command line support for generate-dkos