Fix ugly class; fixed an issue where config may not reload when using another plugin to do so