added remove optoin and -n option into the command line interface