aboutsummarylogtreecommitdiffstats
path: root/python2.patch
blob: df8deceb89bba82f58b8c1eafcffd3afd717b89d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
diff --git a/MadSpin/decay.py b/MadSpin/decay.py
index 869d32b..0280643 100755
--- a/MadSpin/decay.py
+++ b/MadSpin/decay.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 from __future__ import division
 from madgraph.interface import reweight_interface
diff --git a/MadSpin/madspin b/MadSpin/madspin
index c51d27a..d47cff1 100755
--- a/MadSpin/madspin
+++ b/MadSpin/madspin
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 ################################################################################
 #
diff --git a/Template/LO/Source/.make_opts b/Template/LO/Source/.make_opts
index eeed925..95eaaf8 100644
--- a/Template/LO/Source/.make_opts
+++ b/Template/LO/Source/.make_opts
@@ -117,5 +117,5 @@ endif
 
 # Helper function to check MG5 version
 define CHECK_MG5AMC_VERSION
-python -c 'import re; from distutils.version import StrictVersion; print StrictVersion("$(MG5AMC_VERSION)") >= StrictVersion("$(1)") if re.match("^[\d\.]+$$","$(MG5AMC_VERSION)") else True;'
+python2 -c 'import re; from distutils.version import StrictVersion; print StrictVersion("$(MG5AMC_VERSION)") >= StrictVersion("$(1)") if re.match("^[\d\.]+$$","$(MG5AMC_VERSION)") else True;'
 endef
\ No newline at end of file
diff --git a/Template/LO/bin/generate_events b/Template/LO/bin/generate_events
index 7ac36c7..18d5ecb 100755
--- a/Template/LO/bin/generate_events
+++ b/Template/LO/bin/generate_events
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2011 The MadGraph5_aMC@NLO Development team and Contributors
diff --git a/Template/LO/bin/internal/Gridpack/gridrun b/Template/LO/bin/internal/Gridpack/gridrun
index 68e523c..7af6c0b 100755
--- a/Template/LO/bin/internal/Gridpack/gridrun
+++ b/Template/LO/bin/internal/Gridpack/gridrun
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 ################################################################################
 #
diff --git a/Template/LO/bin/internal/addmasses_optional.py b/Template/LO/bin/internal/addmasses_optional.py
index 10e6f64..a2f3a16 100755
--- a/Template/LO/bin/internal/addmasses_optional.py
+++ b/Template/LO/bin/internal/addmasses_optional.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 #
 # doubleswitch.py
 # Author: Stephen Mrenna
diff --git a/Template/LO/bin/madevent b/Template/LO/bin/madevent
index a3d9f71..fc5dfce 100755
--- a/Template/LO/bin/madevent
+++ b/Template/LO/bin/madevent
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 ################################################################################
 #
diff --git a/Template/MadWeight/Python/Info.py b/Template/MadWeight/Python/Info.py
index 92b0e81..ec22eca 100755
--- a/Template/MadWeight/Python/Info.py
+++ b/Template/MadWeight/Python/Info.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 def giveInfo(class_):
         if type(class_)!=str:
diff --git a/Template/MadWeight/Python/clean.py b/Template/MadWeight/Python/clean.py
index 64a4e35..59d1899 100755
--- a/Template/MadWeight/Python/clean.py
+++ b/Template/MadWeight/Python/clean.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 ##                                                                      ##
 ##                               MadWeight                              ##
diff --git a/Template/MadWeight/Python/expand_MadWeight.py b/Template/MadWeight/Python/expand_MadWeight.py
index abe4909..35ab543 100755
--- a/Template/MadWeight/Python/expand_MadWeight.py
+++ b/Template/MadWeight/Python/expand_MadWeight.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Module
 import string
diff --git a/Template/MadWeight/Python/madweight.py b/Template/MadWeight/Python/madweight.py
index 953800d..4dcd048 100755
--- a/Template/MadWeight/Python/madweight.py
+++ b/Template/MadWeight/Python/madweight.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # idea have 2 script
 # madweight.py -> direct submission 
diff --git a/Template/MadWeight/Python/put_banner.py b/Template/MadWeight/Python/put_banner.py
index a6a06b8..b0f1ef8 100755
--- a/Template/MadWeight/Python/put_banner.py
+++ b/Template/MadWeight/Python/put_banner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 ##                                                                      ##
 ##                               MG/ME/MW                               ##
diff --git a/Template/MadWeight/Python/splitbanner.py b/Template/MadWeight/Python/splitbanner.py
index a425a1a..f0e4c4e 100755
--- a/Template/MadWeight/Python/splitbanner.py
+++ b/Template/MadWeight/Python/splitbanner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 ##                                                                      ##
 ##                               MadWeight                              ##
diff --git a/Template/MadWeight/Python/tests.py b/Template/MadWeight/Python/tests.py
index f5c4731..1154bc6 100755
--- a/Template/MadWeight/Python/tests.py
+++ b/Template/MadWeight/Python/tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python 
+#!/usr/bin/env python2
 ####################################################################################################
 ####################################################################################################
 ##                                                                                                ##
diff --git a/Template/MadWeight/bin/madweight.py b/Template/MadWeight/bin/madweight.py
index c8ac32a..c7247bb 100755
--- a/Template/MadWeight/bin/madweight.py
+++ b/Template/MadWeight/bin/madweight.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2011 The MadGraph Development team and Contributors
diff --git a/Template/MadWeight/bin/mw_options b/Template/MadWeight/bin/mw_options
index 4a28be1..b98d018 100755
--- a/Template/MadWeight/bin/mw_options
+++ b/Template/MadWeight/bin/mw_options
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 ################################################################################
 #
diff --git a/Template/MadWeight/mod_file/check_model.py b/Template/MadWeight/mod_file/check_model.py
index 8e80f6a..a8a2d26 100755
--- a/Template/MadWeight/mod_file/check_model.py
+++ b/Template/MadWeight/mod_file/check_model.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 #test
 
diff --git a/Template/MadWeight/mod_file/mod_file.py b/Template/MadWeight/mod_file/mod_file.py
index d95cf20..444933a 100755
--- a/Template/MadWeight/mod_file/mod_file.py
+++ b/Template/MadWeight/mod_file/mod_file.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 #Extension
 import string
diff --git a/Template/MadWeight/mod_file/mod_setup_model b/Template/MadWeight/mod_file/mod_setup_model
index a2e32db..380f629 100755
--- a/Template/MadWeight/mod_file/mod_setup_model
+++ b/Template/MadWeight/mod_file/mod_setup_model
@@ -45,7 +45,7 @@ close(INPUT);
 
         if (-e $tfdir."/TF_".$transfer_fct.".dat") {
       print "TF $transfer_fct found  in $tfdir \n";
-      system("python ./bin/change_tf.py $transfer_fct 0");
+      system("python2 ./bin/change_tf.py $transfer_fct 0");
       }
         else{print "Error Transfer function $transfer_fct not found \n";
           exit;
diff --git a/Template/MadWeight/src/makefile b/Template/MadWeight/src/makefile
index eac7b86..0b563b2 100755
--- a/Template/MadWeight/src/makefile
+++ b/Template/MadWeight/src/makefile
@@ -24,9 +24,9 @@ $(PROG): $(PROCESS) $(MW_PS)  makefile $(LIBS)
 	$(FC) $(FFLAGS) -o $(PROG) $(PROCESS) $(MW_PS) $(LINKLIBS)
 
 transfer_card.inc:../../Cards/transfer_card.dat ../../Cards/MadWeight_card.dat
-	python ../../bin/internal/madweight/Cards.py
+	python2 ../../bin/internal/madweight/Cards.py
 madweight_card.inc:../../Cards/transfer_card.dat ../../Cards/MadWeight_card.dat
-	python ../../bin/internal/madweight/Cards.py
+	python2 ../../bin/internal/madweight/Cards.py
 
 driver.o: phasespace.inc nexternal.inc data.inc coupl.inc madweight_card.inc nb_tf.inc
 initialization.o: madweight_card.inc TF_param.inc coupl.inc run.inc madweight_param.inc pmass.inc nexternal.inc maxamps.inc leshouche.inc nb_tf.inc
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_V.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_V.f
index 2744ab3..774152f 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_V.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_V.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_h.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_h.f
index 0b03a03..baf54ac 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_h.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_h.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_hjj.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_hjj.f
index 638c542..60ea93b 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_hjj.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_hjj.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_leptons.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_leptons.f
index 77e1b10..8ff65db 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_leptons.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_leptons.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_lplm.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_lplm.f
index 7ece1da..15293f4 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_lplm.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_lplm.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_lvl.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_lvl.f
index e139a82..7d49eae 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_lvl.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_lvl.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_taptam.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_taptam.f
index 4599579..435024c 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_taptam.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_taptam.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_tj.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_tj.f
index 8eb4ca4..8d55c42 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_tj.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_tj.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_ttx.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_ttx.f
index 90f4807..c983fe0 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_ttx.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_ttx.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_ttx_v2.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_ttx_v2.f
index a419b2a..283d491 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_ttx_v2.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_pp_ttx_v2.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_rates.f b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_rates.f
index 1097bb7..0ca587f 100644
--- a/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_rates.f
+++ b/Template/NLO/MCatNLO/HWAnalyzer/hw6an_HwU_rates.f
@@ -11,7 +11,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_V.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_V.f
index ee5c3f0..31ad476 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_V.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_V.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_h.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_h.f
index d29e8bf..8d34f27 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_h.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_h.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_hjj.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_hjj.f
index 755294b..af05679 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_hjj.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_hjj.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_leptons.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_leptons.f
index 1c5f4d0..a25539a 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_leptons.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_leptons.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_lplm.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_lplm.f
index 9bb9d18..077b320 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_lplm.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_lplm.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_lvl.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_lvl.f
index eabf4a5..fe66f5a 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_lvl.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_lvl.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_taptam.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_taptam.f
index 86c9818..2b230b1 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_taptam.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_taptam.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_tj.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_tj.f
index 0f57b6e..248bb04 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_tj.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_tj.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_ttx.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_ttx.f
index 263b9e5..81768ee 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_ttx.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_ttx.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_ttx_v2.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_ttx_v2.f
index ec5193d..5e6a121 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_ttx_v2.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_pp_ttx_v2.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_rates.f b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_rates.f
index 349a83f..235ebe7 100644
--- a/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_rates.f
+++ b/Template/NLO/MCatNLO/HWPPAnalyzer/hwppan_HwU_rates.f
@@ -11,7 +11,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_V.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_V.f
index 06da454..3b36816 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_V.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_V.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_h.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_h.f
index 9351780..6046bea 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_h.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_h.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_hjj.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_hjj.f
index 148722e..53d6ff7 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_hjj.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_hjj.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_leptons.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_leptons.f
index f23fc70..fd18023 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_leptons.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_leptons.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_lplm.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_lplm.f
index 39ea2e5..590944f 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_lplm.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_lplm.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_lvl.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_lvl.f
index 186ff75..9c24793 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_lvl.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_lvl.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_taptam.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_taptam.f
index dbde5ba..f9f474c 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_taptam.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_taptam.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_tj.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_tj.f
index c9b65c2..ba4b40e 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_tj.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_tj.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_ttx.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_ttx.f
index a3921f7..f0223a3 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_ttx.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_ttx.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_ttx_v2.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_ttx_v2.f
index 4b77215..0b18ece 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_ttx_v2.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_pp_ttx_v2.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_rates.f b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_rates.f
index a3d878c..ffe3751 100644
--- a/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_rates.f
+++ b/Template/NLO/MCatNLO/PY8Analyzer/py8an_HwU_rates.f
@@ -11,7 +11,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_V.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_V.f
index 846c3f1..96c55e3 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_V.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_V.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_h.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_h.f
index 48b123b..1c4df47 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_h.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_h.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 
 C----------------------------------------------------------------------
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_hjj.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_hjj.f
index 65cd559..c881c0f 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_hjj.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_hjj.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 
 C----------------------------------------------------------------------
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_leptons.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_leptons.f
index cd76a79..96250ec 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_leptons.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_leptons.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_lplm.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_lplm.f
index 92fea41..8b87d87 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_lplm.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_lplm.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_lvl.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_lvl.f
index 18cfd55..6b10a1d 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_lvl.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_lvl.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_taptam.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_taptam.f
index 52ed987..de73992 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_taptam.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_taptam.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 
 C----------------------------------------------------------------------
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_tj.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_tj.f
index 8020ba3..2370064 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_tj.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_tj.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 
 C----------------------------------------------------------------------
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_ttx.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_ttx.f
index 1826ede..df37176 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_ttx.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_ttx.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 
 C----------------------------------------------------------------------
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_ttx_v2.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_ttx_v2.f
index c22f9be..78755ea 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_ttx_v2.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_pp_ttx_v2.f
@@ -14,7 +14,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 
 C----------------------------------------------------------------------
diff --git a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_rates.f b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_rates.f
index 10e2b80..8b01f55 100644
--- a/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_rates.f
+++ b/Template/NLO/MCatNLO/PYAnalyzer/py6an_HwU_rates.f
@@ -11,7 +11,7 @@ c  <MG5_aMC_install_dir>/madgraph/various/histograms.py
 c
 c You can learn about how to run it and what options are available with
 c
-c  python <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
+c  python2 <MG5_aMC_install_dir>/madgraph/various/histograms.py --help
 c
 C----------------------------------------------------------------------
       SUBROUTINE RCLOS()
diff --git a/Template/NLO/Utilities/NLO_Born3.py b/Template/NLO/Utilities/NLO_Born3.py
index dbb8173..c5edaf1 100755
--- a/Template/NLO/Utilities/NLO_Born3.py
+++ b/Template/NLO/Utilities/NLO_Born3.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 inp = open('./MADatNLO.top', 'r')
 out = open('./MADatNLO_combined.top', 'w')
diff --git a/Template/NLO/Utilities/VetoPrefactors/resum_reweighter.py b/Template/NLO/Utilities/VetoPrefactors/resum_reweighter.py
index f7ba469..fb604a6 100755
--- a/Template/NLO/Utilities/VetoPrefactors/resum_reweighter.py
+++ b/Template/NLO/Utilities/VetoPrefactors/resum_reweighter.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 ################################################################################
 #
diff --git a/Template/NLO/Utilities/VetoPrefactors/virt_reweighter.py b/Template/NLO/Utilities/VetoPrefactors/virt_reweighter.py
index 87a75fa..a5eaa77 100755
--- a/Template/NLO/Utilities/VetoPrefactors/virt_reweighter.py
+++ b/Template/NLO/Utilities/VetoPrefactors/virt_reweighter.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 ################################################################################
 #
diff --git a/Template/NLO/bin/aMCatNLO b/Template/NLO/bin/aMCatNLO
index e1a347f..88fd730 100755
--- a/Template/NLO/bin/aMCatNLO
+++ b/Template/NLO/bin/aMCatNLO
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 ################################################################################
 #
diff --git a/Template/NLO/bin/calculate_xsect b/Template/NLO/bin/calculate_xsect
index 5000f2a..2616864 100755
--- a/Template/NLO/bin/calculate_xsect
+++ b/Template/NLO/bin/calculate_xsect
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2011 The MadGraph5_aMC@NLO Development team and Contributors
diff --git a/Template/NLO/bin/generate_events b/Template/NLO/bin/generate_events
index 7302c07..57f68b8 100755
--- a/Template/NLO/bin/generate_events
+++ b/Template/NLO/bin/generate_events
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2011 The MadGraph5_aMC@NLO Development team and Contributors
diff --git a/Template/NLO/bin/internal/split_jobs.py b/Template/NLO/bin/internal/split_jobs.py
index 0b50e56..7af39a1 100755
--- a/Template/NLO/bin/internal/split_jobs.py
+++ b/Template/NLO/bin/internal/split_jobs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #  MZ, 2012-06-14
 import os
 import sys
diff --git a/Template/NLO/bin/shower b/Template/NLO/bin/shower
index 5bde455..065565b 100755
--- a/Template/NLO/bin/shower
+++ b/Template/NLO/bin/shower
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2011 The MadGraph5_aMC@NLO Development team and Contributors
diff --git a/aloha/bin/aloha b/aloha/bin/aloha
index 2fe8b10..e3b177a 100755
--- a/aloha/bin/aloha
+++ b/aloha/bin/aloha
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 
 import sys
diff --git a/bin/.compile.py b/bin/.compile.py
index 0f396d6..783cf3f 100755
--- a/bin/.compile.py
+++ b/bin/.compile.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2009 The MadGraph5_aMC@NLO Development team and Contributors
@@ -285,9 +285,9 @@ class Compile_MG5:
 
     def precompilation(self, debug=False):
         if debug:
-            subprocess.call('python -m compileall .', shell=True, cwd=root_path)            
+            subprocess.call('python2 -m compileall .', shell=True, cwd=root_path)            
         else:
-            subprocess.call('python -O -m compileall .', shell=True, cwd=root_path)
+            subprocess.call('python2 -O -m compileall .', shell=True, cwd=root_path)
 
 if __name__ == '__main__':
     Compile_MG5(sys.argv[1:])
diff --git a/bin/mg5 b/bin/mg5
index 9a0d695..99b0531 100755
--- a/bin/mg5
+++ b/bin/mg5
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 ################################################################################
 #
diff --git a/bin/mg5_aMC b/bin/mg5_aMC
index 7dac966..e8bbd11 100755
--- a/bin/mg5_aMC
+++ b/bin/mg5_aMC
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 import time
 start = time.time()
 
diff --git a/madgraph/interface/common_run_interface.py b/madgraph/interface/common_run_interface.py
index 52a4cb5..8e66199 100755
--- a/madgraph/interface/common_run_interface.py
+++ b/madgraph/interface/common_run_interface.py
@@ -899,7 +899,7 @@ class CommonRunCmd(HelpToCmd, CheckValidForCmd, cmd.Cmd):
                 fsock.close()
                 return
             else:
-                subprocess.call(['python', 'write_param_card.py'],
+                subprocess.call(['python2', 'write_param_card.py'],
                              cwd=pjoin(self.me_dir,'bin','internal','ufomodel'))
                 default = pjoin(self.me_dir,'bin','internal','ufomodel','param_card.dat')
 
diff --git a/madgraph/interface/madgraph_interface.py b/madgraph/interface/madgraph_interface.py
index b73b077..d12a7df 100755
--- a/madgraph/interface/madgraph_interface.py
+++ b/madgraph/interface/madgraph_interface.py
@@ -6319,7 +6319,7 @@ MG5aMC that supports quadruple precision (typically g++ based on gcc 4.6+).""")
             if new_interface:
                 ff = open(pjoin(MG5DIR, 'bin', '%s.py' % name) , 'w') 
                 if __debug__:
-                    text = '''#! /usr/bin/env python
+                    text = '''#!/usr/bin/env python2
 import os
 import sys
 root_path = os.path.split(os.path.dirname(os.path.realpath( __file__ )))[0]
@@ -6328,7 +6328,7 @@ sys.argv.pop(0)
 os.system('%s  -tt %s %s --mode={0}' %(sys.executable, str(exe_path) , ' '.join(sys.argv) ))
 '''.format(name)                    
                 else:
-                    text = '''#! /usr/bin/env python
+                    text = '''#!/usr/bin/env python2
 import os
 import sys
 root_path = os.path.split(os.path.dirname(os.path.realpath( __file__ )))[0]
diff --git a/madgraph/iolibs/gen_infohtml.py b/madgraph/iolibs/gen_infohtml.py
index 52acde6..2bdd639 100755
--- a/madgraph/iolibs/gen_infohtml.py
+++ b/madgraph/iolibs/gen_infohtml.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2009 The MadGraph5_aMC@NLO Development team and Contributors
diff --git a/madgraph/iolibs/template_files/loop_optimized/check_sa.py.inc b/madgraph/iolibs/template_files/loop_optimized/check_sa.py.inc
index 29e1b66..263abee 100644
--- a/madgraph/iolibs/template_files/loop_optimized/check_sa.py.inc
+++ b/madgraph/iolibs/template_files/loop_optimized/check_sa.py.inc
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 # This is an example of how to run MadLoop from Python using the f2py compilation of the wrapper file 'f2py_wrapper.f'.
 
diff --git a/madgraph/iolibs/template_files/loop_optimized/check_sa_all.py.inc b/madgraph/iolibs/template_files/loop_optimized/check_sa_all.py.inc
index 44d8a53..08cc1c8 100644
--- a/madgraph/iolibs/template_files/loop_optimized/check_sa_all.py.inc
+++ b/madgraph/iolibs/template_files/loop_optimized/check_sa_all.py.inc
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 
 # This is an example of how to run MadLoop from Python using the f2py compilation of the wrapper file 'f2py_wrapper.f'.
 
diff --git a/madgraph/madweight/Cards.py b/madgraph/madweight/Cards.py
index 1c949db..70605e4 100755
--- a/madgraph/madweight/Cards.py
+++ b/madgraph/madweight/Cards.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 ##                                                                      ##
 ##                               MadWeight                              ##
diff --git a/madgraph/madweight/MW_driver.py b/madgraph/madweight/MW_driver.py
index f075c47..a1d4f36 100755
--- a/madgraph/madweight/MW_driver.py
+++ b/madgraph/madweight/MW_driver.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 # Copyright (c) 2012 The MadGraph Development team and Contributors             
 #
diff --git a/madgraph/madweight/MW_info.py b/madgraph/madweight/MW_info.py
index acaa43d..20592e6 100755
--- a/madgraph/madweight/MW_info.py
+++ b/madgraph/madweight/MW_info.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 ##                                                                      ##
 ##                               MadWeight                              ##
diff --git a/madgraph/madweight/blob_solution.py b/madgraph/madweight/blob_solution.py
index 571b420..660d778 100755
--- a/madgraph/madweight/blob_solution.py
+++ b/madgraph/madweight/blob_solution.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 try:
     import madgraph.madweight.particle_class as particle_class
diff --git a/madgraph/madweight/change_tf.py b/madgraph/madweight/change_tf.py
index 4717715..f1b6e7c 100755
--- a/madgraph/madweight/change_tf.py
+++ b/madgraph/madweight/change_tf.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 #Extension
 
diff --git a/madgraph/madweight/create_param.py b/madgraph/madweight/create_param.py
index f8fbb43..b80a490 100755
--- a/madgraph/madweight/create_param.py
+++ b/madgraph/madweight/create_param.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 ##                                                                      ##
 ##                               MadWeight                              ##
diff --git a/madgraph/madweight/create_run.py b/madgraph/madweight/create_run.py
index 2fa5a6d..49b76ef 100755
--- a/madgraph/madweight/create_run.py
+++ b/madgraph/madweight/create_run.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 #Extension
 import string,os,sys,re,popen2,time,stat,filecmp
diff --git a/madgraph/madweight/diagram_class.py b/madgraph/madweight/diagram_class.py
index 1e35e71..96a45b1 100755
--- a/madgraph/madweight/diagram_class.py
+++ b/madgraph/madweight/diagram_class.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 import sys
 import logging
diff --git a/madgraph/madweight/mod_file.py b/madgraph/madweight/mod_file.py
index 5b3242f..4fb0a0c 100755
--- a/madgraph/madweight/mod_file.py
+++ b/madgraph/madweight/mod_file.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python 
+#!/usr/bin/env python2
 ####################################################################################################
 ####################################################################################################
 ##                                                                                                ##
diff --git a/madgraph/madweight/substructure_class.py b/madgraph/madweight/substructure_class.py
index 370ee1f..3affadf 100755
--- a/madgraph/madweight/substructure_class.py
+++ b/madgraph/madweight/substructure_class.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 
 try:
diff --git a/madgraph/madweight/verif_event.py b/madgraph/madweight/verif_event.py
index 0882a96..224d17a 100755
--- a/madgraph/madweight/verif_event.py
+++ b/madgraph/madweight/verif_event.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 ##                                                                      ##
 ##                               MadWeight                              ##
diff --git a/madgraph/madweight/write_MadWeight.py b/madgraph/madweight/write_MadWeight.py
index f7a9a6f..4cf5fac 100755
--- a/madgraph/madweight/write_MadWeight.py
+++ b/madgraph/madweight/write_MadWeight.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##### -*- coding: cp1252 -*-
 
 #Extension
diff --git a/madgraph/various/combine_plots.py b/madgraph/various/combine_plots.py
index 34311e4..474ae00 100755
--- a/madgraph/various/combine_plots.py
+++ b/madgraph/various/combine_plots.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2013 The MadGraph5_aMC@NLO Development team and Contributors
diff --git a/madgraph/various/histograms.py b/madgraph/various/histograms.py
index 6ad5fd7..8d2874c 100755
--- a/madgraph/various/histograms.py
+++ b/madgraph/various/histograms.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2010 The MadGraph5_aMC@NLO Development team and Contributors
diff --git a/madgraph/various/plot_djrs.py b/madgraph/various/plot_djrs.py
index c0fb743..30fcfbc 100644
--- a/madgraph/various/plot_djrs.py
+++ b/madgraph/various/plot_djrs.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2010 The MadGraph5_aMC@NLO Development team and Contributors
diff --git a/madgraph/various/progressbar.py b/madgraph/various/progressbar.py
index 2f1bc4d..eaeae7d 100755
--- a/madgraph/various/progressbar.py
+++ b/madgraph/various/progressbar.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 # -*- coding: iso-8859-1 -*-
 #
 # progressbar  - Text progressbar library for python.
diff --git a/tests/acceptance_tests/test_histograms.py b/tests/acceptance_tests/test_histograms.py
index 82239bf..b7d61fd 100755
--- a/tests/acceptance_tests/test_histograms.py
+++ b/tests/acceptance_tests/test_histograms.py
@@ -47,5 +47,5 @@ class IOTest_Histogram(IOTests.IOTestManager):
           histo_list.output(pjoin('%s','HistoOut'), format = 'gnuplot');
         ''' % (sys.path, _file_path, self.IOpath)
 
-        os.system('echo "%s" | python' % line) 
+        os.system('echo "%s" | python2' % line) 
 
diff --git a/tests/acceptance_tests/test_model_equivalence.py b/tests/acceptance_tests/test_model_equivalence.py
index 37e93bd..e7b063d 100755
--- a/tests/acceptance_tests/test_model_equivalence.py
+++ b/tests/acceptance_tests/test_model_equivalence.py
@@ -322,7 +322,7 @@ class TestModelCreation(unittest.TestCase, CheckFileCreate):
             pass
         # prepare for a local compilation
         
-        subprocess.call(['python','write_param_card.py'], cwd=os.path.join(MG5DIR,'models','sm'),
+        subprocess.call(['python2','write_param_card.py'], cwd=os.path.join(MG5DIR,'models','sm'),
                         stdout=subprocess.PIPE)
         files.cp(os.path.join(MG5DIR,'models','sm','param_card.dat'),
                  join('param_card.dat'))
diff --git a/tests/parallel_tests/loop_sample_script.py b/tests/parallel_tests/loop_sample_script.py
index 1ee58f4..4fc64b5 100755
--- a/tests/parallel_tests/loop_sample_script.py
+++ b/tests/parallel_tests/loop_sample_script.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2009 The MadGraph5_aMC@NLO Development team and Contributors
diff --git a/tests/parallel_tests/sample_script.py b/tests/parallel_tests/sample_script.py
index 2be23d9..ff11bf9 100755
--- a/tests/parallel_tests/sample_script.py
+++ b/tests/parallel_tests/sample_script.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2009 The MadGraph5_aMC@NLO Development team and Contributors
diff --git a/tests/test_manager.py b/tests/test_manager.py
index 9518cf5..75d154a 100755
--- a/tests/test_manager.py
+++ b/tests/test_manager.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python 
+#!/usr/bin/env python2
 ################################################################################
 #
 # Copyright (c) 2009 The MadGraph5_aMC@NLO Development team and Contributors
@@ -1092,6 +1092,6 @@ https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/DevelopmentPage/CodeTesting
 #    run('TestTestFinder')
 #    run('test_check_valid_on_file')
 #    run('test_collect_dir.*') # '.*' stands for all possible char (re format)
-#    python tests/test_manager.py test_decay.py -l INFO|less
+#    python2 tests/test_manager.py test_decay.py -l INFO|less
 
 
diff --git a/vendor/IREGI/src/oneloop/create.py b/vendor/IREGI/src/oneloop/create.py
index 43290c5..ea98b6f 100755
--- a/vendor/IREGI/src/oneloop/create.py
+++ b/vendor/IREGI/src/oneloop/create.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 import re,string,os,sys,subprocess
 locdir,thisFile = os.path.split(os.path.abspath(sys.argv[0]))
 srcdir = os.path.join(locdir,'src')
diff --git a/vendor/IREGI/src/oneloop/example_cpp/create.py b/vendor/IREGI/src/oneloop/example_cpp/create.py
index fca7438..820cce8 100755
--- a/vendor/IREGI/src/oneloop/example_cpp/create.py
+++ b/vendor/IREGI/src/oneloop/example_cpp/create.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 import re,string,os,sys,subprocess
 locdir,thisFile = os.path.split(os.path.abspath(sys.argv[0]))
 srcdir = os.path.join(locdir,'src')
diff --git a/vendor/IREGI/src/oneloop/src/avh_olo.py b/vendor/IREGI/src/oneloop/src/avh_olo.py
index 438f55a..6ec087a 100755
--- a/vendor/IREGI/src/oneloop/src/avh_olo.py
+++ b/vendor/IREGI/src/oneloop/src/avh_olo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 import re,sys
 import avh_pc_olo
 
@@ -25,14 +25,14 @@ for option in sysargv:
     elif re.match(r'cppintf',option): cppintf = re.sub(r'cppintf=','',option) 
     else:
         avh_pc.prnt('')
-        avh_pc.prnt('usage: python avh_pc_olo.py [dpkind="kind"]')
-        avh_pc.prnt('                            [qpkind="kind"]')
-        avh_pc.prnt('                            [kindmod="module"]')
-        avh_pc.prnt('                            [ddtype="type"]')
-        avh_pc.prnt('                            [qdtype="type"]')
-        avh_pc.prnt('                            [mptype="type"]')
-        avh_pc.prnt('                            [tlevel="yes"]')
-        avh_pc.prnt('                            [cppintf="yes"]')
+        avh_pc.prnt('usage: python2 avh_pc_olo.py [dpkind="kind"]')
+        avh_pc.prnt('                             [qpkind="kind"]')
+        avh_pc.prnt('                             [kindmod="module"]')
+        avh_pc.prnt('                             [ddtype="type"]')
+        avh_pc.prnt('                             [qdtype="type"]')
+        avh_pc.prnt('                             [mptype="type"]')
+        avh_pc.prnt('                             [tlevel="yes"]')
+        avh_pc.prnt('                             [cppintf="yes"]')
         avh_pc.prnt('       If no option is provided, dpkind="kind(1d0)" is set')
         avh_pc.prnt('       by default. However, dpkind must be provided expli-')
         avh_pc.prnt('       citly if to be combined with qpkind and/or mptype.')
diff --git a/vendor/IREGI/src/oneloop/src/avh_pc_exe.py b/vendor/IREGI/src/oneloop/src/avh_pc_exe.py
index 150e4c0..f372e43 100755
--- a/vendor/IREGI/src/oneloop/src/avh_pc_exe.py
+++ b/vendor/IREGI/src/oneloop/src/avh_pc_exe.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 import sys
 import avh_pc