added RMSG command line handler