Use new method to deal with command line options