Removed hardcoding of the URL.