[MOD] Modified plugin to use config