added requiredvars to plugins