Updated base_url script