init env work