plugins update

code style improvements, added requiredvars