Fixing function evaluation order so HTTP server actually runs.