Updated rmg

Check command line options before setting up environment.