Run server only after data has been loaded