added config option for local_url