added baseurl option to config file