Made base_url dynamic