added argparse to core/rm_plugin.py