improved plugin behavior, only run or runAll when active