remove global base_url from script