use config file to set base url