Added root_url setting to handle local development.