Add the ability to disable events and use relative url in config.