updated to use different base_url