localize erlenv initialization