changed the Director call to get baseURL