Set environment details