added the ability to configure the plugin via constants, so it can be a "must-use plugin"