added cmdline options and message signing