added the ability to set the url in the config file