add plugin-dir to the config file and use it to find plugins by basename