move plugins_dir to config file
mv run_cmd to utils