Removed hardcoded localhost