diff --git a/couplage/data_to_copy/caraib_01_Iv_2020_Belgium_coupling.dat b/couplage/data_to_copy/caraib_01_Iv_2020_Belgium_coupling.dat
index 03450f616bef60422d22cc9521dad2dbff886ea6..e45d6a7bec0997ae25488cbaba61a15a19d44f5b 100644
--- a/couplage/data_to_copy/caraib_01_Iv_2020_Belgium_coupling.dat
+++ b/couplage/data_to_copy/caraib_01_Iv_2020_Belgium_coupling.dat
@@ -1,186 +1,76 @@
-isteady,ny0max     : 1  1
-readsteady,coupling: 0  1
-1 to call generator: 0
-ifrac (1=calc frac): 1
-ifrac_rd,ilai_rd   : 0  0 
-idayt,ifull,jclonly: 1  0  0
-ilu,imanag         : 1  0
-ilusp_rd,isowd_rd  : 0  0
-ncropvar,icvar_rd  : 0  0
-ifire,iclim,ilgtree: 0  0  0  
-jdwnCO2,jrd_accl   : 2  2
-imig,isp,imig_rd   : 0  6  0         ; isp= 6 or 8 (species which is dispersed)
-nyrmax,ileap       : 1  1           
-itmt(too much time): 0
-nyrprt,nstprt      : 0  0  
-iread,iczon        : 0  1
-idaily_in,idaily_ou: 1  1
-idtem,isol         : 1  1
-pixel number       : 10800                         
-igtyp,declg,declat : 0   0.06300   0.02000
-prec_co            : 3.e-4
-ipar,exc,obl,xlsper: 0 0.016724  23.447  282.16
-nherb,nbush,ntree,n: 1  1  14  12  1
-fil ext inp weather:.dat
-fil ext results    :.res
-soil texture       :./CARAIB_couplage/clim/Belgium/ecotxt.dat
-pixel corners      :/-------- no file for pixelcorners.dat
-climate data       :/-------- no file for climate_data.dat
-air temp (climatol):0 ./CARAIB_couplage/clim/Belgium/temyyyy.dat
-      units,netcdf :     0.0     1.0       0 &tem                                     
-precip   (climatol):0 ./CARAIB_couplage/clim/Belgium/prcyyyy.dat
-      units,netcdf :     0.0     1.0       0 &prc
-air temperature    :1 ./CARAIB_couplage/clim/Belgium/tem
-      units,netcdf :     0.0     1.0       0 &tas
-Max air temp.      :1 ./CARAIB_couplage/clim/Belgium/tmax
-      units,netcdf :     0.0     1.0       0 &tasmax
-Min air temp.      :1 ./CARAIB_couplage/clim/Belgium/tmin
-      units,netcdf :     0.0     1.0       0 &tasmin
-precipitation      :1 ./CARAIB_couplage/clim/Belgium/prc
-      units,netcdf :     0.0     1.0       0 &pr
-sunsh hr/solar fl  :1 ./CARAIB_couplage/clim/Belgium/fsol
-      units,netcdf :     0.0     1.0       0 &rsds
-air relat. humidity:1 ./CARAIB_couplage/clim/Belgium/rhu
-      units,netcdf :     0.0     1.0       0 &rhs
-wind speed         :1 ./CARAIB_couplage/clim/Belgium/wnd
-      units,netcdf :     0.0     1.0       0 &wind
-management         :0 /-------- no file for manag.dat
-lightning data     :0 ./CARAIB_couplage/clim/Belgium/lightning.dat
-land use cover     :0 ./CARAIB_couplage/clim/Belgium/land_use_caraib.dat
-LU species rel abun:2 ./CARAIB_couplage/plantparam/frac_crop_elv
-crop sowing dates  :0 /-------- no file for sowing_dates.dat
-crop cultivars     :0 /-------- no file for cultivars_ric_20_6c05.dat
-migration rate     :0 /-------- no file for Heterogeneity_40.dat
-species refugia    :0 /-------- no file for Fagus_pa_10k.txt
-path for generator :/raid/umccb/francois/gene/
-PFT alb zzra t1 t2 :./CARAIB_couplage/plantparam/species_ibm.dat
-PFT tolerances     :./CARAIB_couplage/plantparam/species_tol_t6.dat
-PFT parameters     :./CARAIB_couplage/plantparam/species_par.dat
-PFT age class para :./CARAIB_couplage/plantparam/species_clas.dat
-PFT C:N of veget   :./CARAIB_couplage/plantparam/species_csurn.dat
-PFT 1/gkfall       :./CARAIB_couplage/plantparam/species_gk.dat
-PFT gama1, gama2   :./CARAIB_couplage/plantparam/gama_soil.dat
-PFT carb_init      :./CARAIB_couplage/plantparam/species_carb.dat 
-crops seasonality  :./CARAIB_couplage/plantparam/species_seas_t6c.dat
-print clim tem     :0 /no_climate_outputs/tem                       
-print clim dte     :0 /no_climate_outputs/dte                      
-print clim prc     :0 /no_climate_outputs/prc                      
-print clim shr/fsol:0 /no_climate_outputs/shr                      
-print clim rhu     :0 /no_climate_outputs/rhu                      
-print clim win     :0 /no_climate_outputs/wnd
-initial veget  frac:./CARAIB_couplage/results/Belgium/frac
-initial Min Max LAI:./CARAIB_couplage/results/Belgium/xlai_min_max
-read initial cond  :./CARAIB_couplage/results/Belgium/biomass
-read lai limit     :./CARAIB_couplage/results/Belgium/ylailim
-read ini cond crops:./CARAIB_couplage/results/Belgium/cropino
-read prev year CO2 :./CARAIB_couplage/results/Belgium/co2prev
-read prev year temp:./CARAIB_couplage/results/Belgium/temprev
-read prev year LU  :./CARAIB_couplage/clim/Belgium/land_use_caraib.dat
-initial propagation:/-------- no file for prop09999.res                   
-initial side pres  :/-------- no file for side09999.res                 
-initial pixel pres :/-------- no file for pres09999.res
-in/out climate zone:0 ./CARAIB_couplage/results/Belgium/zone1991.dat
-in/out stoch.fields:./CARAIB_couplage/results/Belgium/stochas.gen
-ibm results (full) :./CARAIB_couplage/results/Belgium/water.full
-1st day of year res:./CARAIB_couplage/results/Belgium/biomass
-monthly lai limit  :./CARAIB_couplage/results/Belgium/ylailim
-1st part crops     :./CARAIB_couplage/results/Belgium/cropino
-wri prev year CO2  :./CARAIB_couplage/results/Belgium/co2prev
-wri prev year temp :./CARAIB_couplage/results/Belgium/temprev
-results (test file):./CARAIB_couplage/results/Belgium/water.tes
-test (problems)    :./CARAIB_couplage/results/Belgium/caraib.problem
-current pixel-date :./CARAIB_couplage/results/Belgium/water.time
-annual hydr results:1 ./CARAIB_couplage/results/Belgium/water_yr
-annual frc per pft :1 ./CARAIB_couplage/results/Belgium/frc                
-mon/day mean sw    :1 ./CARAIB_couplage/results/Belgium/sw
-mon/day mean sw(mm):1 ./CARAIB_couplage/results/Belgium/swmm
-mon/day mean rtr   :0 ./CARAIB_couplage/results/Belgium/rtr                       
-mon/day mean pet   :1 ./CARAIB_couplage/results/Belgium/pet                      
-mon/day mean aet   :1 ./CARAIB_couplage/results/Belgium/aet                      
-mon/day mean totrun:1 ./CARAIB_couplage/results/Belgium/run                      
-mon/day mean fsn   :1 ./CARAIB_couplage/results/Belgium/fsn
-mon/day mean snd   :1 ./CARAIB_couplage/results/Belgium/snd
-mon/day mean srun  :1 ./CARAIB_couplage/results/Belgium/srun                      
-mon/day mean drain :1 ./CARAIB_couplage/results/Belgium/drn                      
-mon/day mean sv ev :0 ./CARAIB_couplage/results/Belgium/sve
-mon/day mean int ev:1 ./CARAIB_couplage/results/Belgium/eint
-mon/day mean transp:1 ./CARAIB_couplage/results/Belgium/etr
-mon/day mean soilev:1 ./CARAIB_couplage/results/Belgium/eso                      
-mon/day mean rbl   :0 ./CARAIB_couplage/results/Belgium/rbl                      
-mon/day mean albedo:1 ./CARAIB_couplage/results/Belgium/alb                      
-mon/day mean albsv :1 ./CARAIB_couplage/results/Belgium/albsv                      
-mon/day mean albs  :1 ./CARAIB_couplage/results/Belgium/albs                      
-mon/day mean albv  :1 ./CARAIB_couplage/results/Belgium/albv                      
-mon/day mean Rn    :0 ./CARAIB_couplage/results/Belgium/rn                       
-mon/day mean gr flx:0 ./CARAIB_couplage/results/Belgium/grf                      
-mon/day mean Ts    :1 ./CARAIB_couplage/results/Belgium/ts                       
-mon/day mean fgs   :1 ./CARAIB_couplage/results/Belgium/fgs                      
-mon/day mean LAI(w):1 ./CARAIB_couplage/results/Belgium/lai                      
-mon/day mean IRdown:1 ./CARAIB_couplage/results/Belgium/fird                     
-mon/day mean H     :1 ./CARAIB_couplage/results/Belgium/xh                       
-mon/day mean LE    :1 ./CARAIB_couplage/results/Belgium/xle                      
-mon/day mean Fsol  :1 ./CARAIB_couplage/results/Belgium/fsol                     
-mon/day mean sn fal:0 ./CARAIB_couplage/results/Belgium/sf                       
-mon/day mean sn ev :1 ./CARAIB_couplage/results/Belgium/sne                      
-mon/day mean sn mel:0 ./CARAIB_couplage/results/Belgium/sml                      
-mon/day mean emisf :1 ./CARAIB_couplage/results/Belgium/emisf
-mon/day mean emins :1 ./CARAIB_couplage/results/Belgium/emisfns
-mon/day mean z0tot :1 ./CARAIB_couplage/results/Belgium/z0
-mon/day mean biom  :1 ./CARAIB_couplage/results/Belgium/biommth                    
-mon/day mean gpp   :1 ./CARAIB_couplage/results/Belgium/gppmth
-mon/day mean Ra    :1 ./CARAIB_couplage/results/Belgium/ramth                   
-mon/day mean npp   :1 ./CARAIB_couplage/results/Belgium/nppmth                   
-mon/day mean nep   :1 ./CARAIB_couplage/results/Belgium/nepmth
-mon/day mean Rh    :1 ./CARAIB_couplage/results/Belgium/rhmth                   
-mon/day mean lai(C):1 ./CARAIB_couplage/results/Belgium/laimth
-mon/day fire emi   :0 ./CARAIB_couplage/results/Belgium/emifiremth
-mon/day burned lit :0 ./CARAIB_couplage/results/Belgium/emiblitmth
-mon/day mean nbp   :1 ./CARAIB_couplage/results/Belgium/nbpmth
-mon/day mean harv  :1 ./CARAIB_couplage/results/Belgium/harvmth                   
-mon/day mean fapar :1 ./CARAIB_couplage/results/Belgium/faparmth                  
-veget cover frac   :1 ./CARAIB_couplage/results/Belgium/frac                     
-PFT npp            :1 ./CARAIB_couplage/results/Belgium/npp                      
-Rmin               :0 ./CARAIB_couplage/results/Belgium/Rmin                     
-PFT Min Max LAI    :1 ./CARAIB_couplage/results/Belgium/xlai_min_max             
-PFT GPP            :1 ./CARAIB_couplage/results/Belgium/gpp
-PFT auto resp Ra   :1 ./CARAIB_couplage/results/Belgium/ra
-PFT fire emission  :0 ./CARAIB_couplage/results/Belgium/emifire                    
-Cveg               :1 ./CARAIB_couplage/results/Belgium/Cveg                     
-Csoil              :1 ./CARAIB_couplage/results/Belgium/Csoil                    
-C13 fractionation  :0 ./CARAIB_couplage/results/Belgium/frcC13                   
-Mean LAI           :1 ./CARAIB_couplage/results/Belgium/laimoy                   
-Tmin               :0 ./CARAIB_couplage/results/Belgium/Tdmin                    
-Tc                 :0 ./CARAIB_couplage/results/Belgium/Tmmin                    
-GDD                :1 ./CARAIB_couplage/results/Belgium/gdd                      
-probability of fire:0 ./CARAIB_couplage/results/Belgium/pfire                    
-burned pix fraction:0 ./CARAIB_couplage/results/Belgium/fburn                    
-burned area        :1 ./CARAIB_couplage/results/Belgium/aburn
-harvested biomass  :0 ./CARAIB_couplage/results/Belgium/harvest
-yield              :1 ./CARAIB_couplage/results/Belgium/yield
-aboveground biomass:1 ./CARAIB_couplage/results/Belgium/agbiom
-aboveground biomass:1 ./CARAIB_couplage/results/Belgium/bgbiom
-maturity date      :1 ./CARAIB_couplage/results/Belgium/maturity
-lucdfr (LU frac ch):1 ./CARAIB_couplage/results/Belgium/lucdfr
-lucflx (emi & lit) :1 ./CARAIB_couplage/results/Belgium/lucflx
-fire mort coef     :0 ./CARAIB_couplage/results/Belgium/yfburn                
-temp mort coef     :0 ./CARAIB_couplage/results/Belgium/ftomin                   
-water mort coef    :0 ./CARAIB_couplage/results/Belgium/ftotw                    
-total mort coef    :1 ./CARAIB_couplage/results/Belgium/ftot                      
-gdd5 coef          :1 ./CARAIB_couplage/results/Belgium/Fgdd5                    
-Tmmin coef         :0 ./CARAIB_couplage/results/Belgium/FTmmin                    
-watmin coef        :0 ./CARAIB_couplage/results/Belgium/Fwatmin 
-propagation        :0 ./CARAIB_couplage/results/Belgium/prop                   
-pixel side pres    :0 ./CARAIB_couplage/results/Belgium/side                 
-pixel pres         :0 ./CARAIB_couplage/results/Belgium/pres
-year*pco2**nys**ipr_clim*iprt*filexto-(31-46)**filextlu-(48-63)*filexti-(65-184)*********************************************************************************************************idayct (186-191)
-2010 388.57  0         0    1 2010             2010             2010
-2011 390.49  0         0    1 2011             2011             2011
-2012 392.52  0         0    1 2012             2012             2012
-2013 395.19  0         0    1 2013             2013             2013
-2014 397.12  0         0    1 2014             2014             2014
-2015 399.41  0         0    1 2015             2015             2015
-2016 402.86  0         0    1 2016             2016             2016
-2017 405.00  0         0    1 2017             2017             2017
-2018 407.39  0         0    1 2018             2018             2018
-2019 409.80  0         0    1 2019             2019             2019
-!
+#!/bin/bash
+
+#Define your region
+reg="EU"
+#Define your domain
+cod="x"
+#Define your country
+count="Belgium"
+#Define the path to your copy of NESTOR domain
+nest="/climato_tmp1/tdethinne/domains/NST.2018.08.01.00.EUa.nc"
+#Define the path to your file necessary as Caraib Starting point
+str="/climato_tmp1/tdethinne/srv9/init_data"
+
+
+#+++++++++++++++++++++++++++++++++#
+#     do not edit after here      #
+#+++++++++++++++++++++++++++++++++#
+
+# Check if an argument is provided
+if [ -z "$1" ]; then
+    echo "Usage: $0 <0 or 1>"
+    exit 1
+fi
+
+dom=$reg$cod
+
+directory=/climato_tmp1/$USER/MAR/out/$dom/
+
+# Perform actions based on the argument
+if [ "$1" -eq 0 ]; then
+    echo "The script will set your MAR/out/$dom/so it match the required shape and move the files"
+fi  
+
+if [ "$1" -eq 1 ]; then
+    echo " The script will set your MAR/out/$dom/so it match the required shape and move the files and compile the model"
+fi  
+    
+# Copy the code of the coupling
+echo "Copy of the code"
+mkdir -p $directory/${cod}99/code
+scp -r /climato_tmp1/tdethinne/MAR/src/MARCAR/* $directory/${cod}99/code
+ln -s MAR_c01.exe $directory/${cod}99/code/MAR_${cod}99.exe
+
+if [ "$1" -eq 1 ]; then
+    echo "Compile the code"
+    $directory/${cod}99/code/COMPILE
+fi 
+
+#Recreate the CARAIB directories
+mkdir -p $directory/CARAIB_couplage/
+mkdir -p $directory/CARAIB_couplage/clim/$count/
+mkdir -p $directory/CARAIB_couplage/ctrl/
+mkdir -p $directory/CARAIB_couplage/data/
+mkdir -p $directory/CARAIB_couplage/results/$count/
+
+#Move the MAR results to a new place
+echo "move the MAR results to another place"
+mkdir -p $directory/${cod}99/mar/
+mkdir -p $directory/${cod}99/caraib/
+
+mv 19* $directory/${cod}99/mar/
+mv 20* $directory/${cod}99/mar/
+mv 21* $directory/${cod}99/mar/
+
+echo "Copy the necessary files"
+cp $nest $directory/CARAIB_couplage/clim/$count/
+
+cp /srv9_tmp1/tdethinne/data_to_coupled/*.dat  $directory/CARAIB_couplage/ctrl/
+cp /srv9_tmp1/tdethinne/data_to_coupled/ecotx.1x1 $directory/CARAIB_couplage/data/
+cp -r /srv9_tmp1/tdethinne/data_to_coupled/plantparam $directory/CARAIB_couplage/
+
+mv $str/*.dat  $directory/CARAIB_couplage/clim/$count/
+mv $str/*.res $directory/CARAIB_couplage/results/$count/
+mv $str/man  $directory/CARAIB_couplage/clim/$count/man
+
+tar -czf $directory/CARAIB_couplage.tar.gz $directory/CARAIB_couplage/
\ No newline at end of file