add env information to view