parsing command line options added