Add support to override base url in config