Server environment fixes.