Adding the option to specify a baseUrl in the config file.