init environment at server startup