Added setPluginConfig() to set a variable with a default value if the config doesn't have that value