diff --git a/marchenko3D/demo/marchenko3D/oneD/README b/marchenko3D/demo/marchenko3D/oneD/README
index 52d17c72cb350b8b428f3c3944492402f14d5a17..3f79ca853bbb8d2f0577bcc0a1a83048ad53851b 100644
--- a/marchenko3D/demo/marchenko3D/oneD/README
+++ b/marchenko3D/demo/marchenko3D/oneD/README
@@ -4,3 +4,33 @@ Due to the size of the data, one requires around 256 GB of RAM. Keep this limita
 
 To avoid the need for large storage space on your directory, we reccomend using the ZFP compressed option. 
 This is the standard option included in the data. You can just execute execute.sh and everything will be done for you. It will take a considerable amount of time, depending on your machine.
+
+In order to run all of the code the folders fdelmodc3D/ and utils/ in the main directory should have been compiled.
+Additionally, some steps require the installation of Seismic Unix
+
+model.sh will create a layered 2D model and convert it into a 3D model (requires Seimsic Unix and utils/)
+
+shotmodel.sh will model a shot of reflection data in the model as well as its direct arrival. It will subtract this first arrival
+from the reflection data (requires fdelmodc3D)
+
+makeR.sh will create a full 3D reflection response from the single shot by shifting traces. The file contains a warning due to the
+large size of the dataset. (requires utils/)
+
+farrmod.sh models a first arrival in a truncated version of the subsurface model. (requires fdelmodc3D/)
+
+fmute3D.sh separates the first arrival from the coda (requires utils/)
+
+zfp.sh transforms the reflection data to the frequency data and applies ZFP compression in order to shrink the datasize of the
+reflection data. It will also delete the original reflection data once the compression has been applied. (requires marchenko3D/)
+
+marchenko3d.sh will perform the Marchenko method using the data created with the previous scripts. (requires marchenko3D)
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+Additionally, there are two demo's for running plane-wave Marchenko in the directories plane_horizontal/ and plane_tilted/
+In order to run these examples, the scripts model.sh shotmodel.sh makeR.sh in the main directory should all have been run
+
+plane_horizontal/ will run the 3D Marchenko method on a horizontal plane-wave
+
+plane_tilted/ will run the 3D Marchenko method on a tilted plane-wave. In order to construct a full Green's function
+the method needs to be run twice at opposing dips. For more information see
+Meles, G. A., Wapenaar, K., & Thorbecke, J. (2018). Virtual plane-wave imaging via Marchenko redatuming. Geophysical Journal International, 214(1), 508-519.
diff --git a/marchenko3D/demo/marchenko3D/oneD/execute.sh b/marchenko3D/demo/marchenko3D/oneD/execute.sh
index f183f9e9dc334595fd842b125d6a07c7f710b8df..5e9cee4dd628287ddb6aa864cdf3128c166d31c4 100755
--- a/marchenko3D/demo/marchenko3D/oneD/execute.sh
+++ b/marchenko3D/demo/marchenko3D/oneD/execute.sh
@@ -1,15 +1,15 @@
 #!/bin/bash
 
-./model.sh
+#./model.sh
 
-./shotmodel.sh
+#./shotmodel.sh
 
-./makeR.sh
+#./makeR.sh
+
+./zfp.sh
 
 ./farrmod.sh
 
 ./fmute3D.sh
 
-./zfp.sh
-
 ./marchenko3d.sh
diff --git a/marchenko3D/demo/marchenko3D/oneD/farrmod.sh b/marchenko3D/demo/marchenko3D/oneD/farrmod.sh
index 4cfbf5211d87618c33e6987dff124e4250fc669b..b14fe894ed44cd8aef1c1b21a9cb8d69dc024985 100755
--- a/marchenko3D/demo/marchenko3D/oneD/farrmod.sh
+++ b/marchenko3D/demo/marchenko3D/oneD/farrmod.sh
@@ -7,7 +7,7 @@ makewave fp=15 fmax=22 dt=${dt} file_out=wavefpmod.su nt=8192 t0=0.2 scale=1 scf
 export OMP_NUM_THREADS=8
 
 #Model shot record in middle of model
-fdelmodc3D \
+../../../../fdelmodc3D/fdelmodc3D \
     file_cp=cp3d.su ischeme=1 iorder=4 \
     file_den=ro3d.su \
     file_src=wavefpmod.su \
diff --git a/marchenko3D/demo/marchenko3D/oneD/fmute3D.sh b/marchenko3D/demo/marchenko3D/oneD/fmute3D.sh
index 8b89c7354eaef93cff259c4df8e0240660626654..62a62acf0cc8f0755931df80d5b27bf1d049ab41 100755
--- a/marchenko3D/demo/marchenko3D/oneD/fmute3D.sh
+++ b/marchenko3D/demo/marchenko3D/oneD/fmute3D.sh
@@ -1,4 +1,4 @@
 #!/bin/bash
 
 #Mute the coda from the modeled first arrival
-fmute3D file_mute=farrmod_rp.su file_shot=farrmod_rp.su file_out=farr.su above=2 shift=18 smooth=10 hw=5
+../../../fmute3D file_mute=farrmod_rp.su file_shot=farrmod_rp.su file_out=farr.su above=2 shift=18 smooth=10 hw=5
diff --git a/marchenko3D/demo/marchenko3D/oneD/makeR.sh b/marchenko3D/demo/marchenko3D/oneD/makeR.sh
index 87d1a122ac47f57f99eae844fac113bf49e9364e..a8a54719e5e7c6672508cc9e3794d4bc69a6d63f 100755
--- a/marchenko3D/demo/marchenko3D/oneD/makeR.sh
+++ b/marchenko3D/demo/marchenko3D/oneD/makeR.sh
@@ -4,8 +4,8 @@ echo "WARNING! The data size of the 3D reflection data is very large (>200 GB)!!
 echo "When you are positive your machine has enough memory,"
 echo "delete the exit; statement from makeR.sh"
 
-exit;
+#exit;
 
 #create the reflection data that was modeled in 1 1D medium
-makeR1D file_in=shotx10y10.su file_out=reflx10y10.su verbose=2 nxrcv=201 nyrcv=61 nxsrc=201 nysrc=61
+../../../../utils/makeR1D file_in=shotx10y10.su file_out=reflx10y10.su verbose=2 nxrcv=201 nyrcv=61 nxsrc=201 nysrc=61
 
diff --git a/marchenko3D/demo/marchenko3D/oneD/marchenko3d.sh b/marchenko3D/demo/marchenko3D/oneD/marchenko3d.sh
index 68439928f64b33cb290aa83fdbebce4712b8c16f..16efd2b679210b7158962f6d777d975fa007fc0b 100755
--- a/marchenko3D/demo/marchenko3D/oneD/marchenko3d.sh
+++ b/marchenko3D/demo/marchenko3D/oneD/marchenko3d.sh
@@ -1,19 +1,19 @@
 #!/bin/bash
 
 #Marchenko using time data
-#marchenko3D file_shot=reflx10y10.su verbose=2 \
+#../../../marchenko3D file_shot=reflx10y10.su verbose=2 \
 #    file_tinv=farr.su \
 #    niter=10 shift=15 smooth=10 hw=5 \
 #    file_green=green_timeshot.su file_file_f2=f2_timeshot.su
 
 #Marchenko using frequency data
-#marchenko3D file_shotw=reflx10y10_W.bin verbose=2 \
+#../../../marchenko3D file_shotw=reflx10y10_W.bin verbose=2 \
 #    file_tinv=farr.su \
 #    niter=10 shift=15 smooth=10 hw=5 \
 #    file_green=green_freqshot.su file_file_f2=f2_freqshot.su
 
 #Marchenko using zfp data
-marchenko3D file_shotzfp=reflx10y10_zfp.bin verbose=2 \
+../../../marchenko3D file_shotzfp=reflx10y10_zfp.bin verbose=2 \
     file_tinv=farr.su \
     niter=10 shift=15 smooth=10 hw=5 \
     file_green=green_zfpshot.su file_file_f2=f2_zfpshot.su
diff --git a/marchenko3D/demo/marchenko3D/oneD/model.sh b/marchenko3D/demo/marchenko3D/oneD/model.sh
index 3725e0aff7c937946560dccc3f1a64d6720f4379..b5affbc7a72492b89d2f2d591cb6eba3b6cd4743 100755
--- a/marchenko3D/demo/marchenko3D/oneD/model.sh
+++ b/marchenko3D/demo/marchenko3D/oneD/model.sh
@@ -8,14 +8,14 @@ ny=181
 dy=10000
 
 #define gridded model for FD computations
-makemod sizex=5000 sizez=1400 dx=$dx dz=$dx cp0=1800 ro0=1000 \
+../../../../utils/makemod sizex=5000 sizez=1400 dx=$dx dz=$dx cp0=1800 ro0=1000 \
         orig=-2500,0 file_base=model5.su verbose=2 \
         intt=def x=-2500,2500 z=400,400 poly=0 cp=2300 ro=3000 \
         intt=def x=-2500,2500 z=700,700 poly=0 cp=2000 ro=1100 \
         intt=def x=-2500,2500 z=1100,1100 poly=0 cp=2500 ro=4000
 
 #define homogenoeus model to compute direct wave only
-makemod sizex=5000 sizez=300 dx=$dx dz=$dx cp0=1800 ro0=1000 \
+../../../../utils/makemod sizex=5000 sizez=300 dx=$dx dz=$dx cp0=1800 ro0=1000 \
         orig=-2500,0 file_base=hom.su verbose=2
 
 rm cp3d.su
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/execute_plane.sh b/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/execute_plane.sh
new file mode 100755
index 0000000000000000000000000000000000000000..7a5d864cf1433b2f4aad5979a73fae77a13c46ba
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/execute_plane.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+echo "Before running this file, run model.sh, makeR.sh and zfp.sh in the folder above"
+
+./farrmod_plane.sh
+
+./fmute3D_plane.sh
+
+./marchenko3d_plane.sh
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/farrmod_plane.sh b/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/farrmod_plane.sh
new file mode 100755
index 0000000000000000000000000000000000000000..87e1ba2b5b5135abae9475cc7dd3855a1934a199
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/farrmod_plane.sh
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+dt=0.001
+
+makewave fp=15 fmax=22 dt=${dt} file_out=wavefpmod.su nt=8192 t0=0.2 scale=1 scfft=0
+
+export OMP_NUM_THREADS=8
+
+#Model shot record in middle of model
+../../../../../fdelmodc3D/fdelmodc3D \
+    file_cp=../cp3d.su ischeme=1 iorder=4 \
+    file_den=../ro3d.su \
+    file_src=wavefpmod.su \
+    file_rcv=farrmod_plane.su \
+    plane_wave=1 npxsrc=201 npysrc=61 \
+    src_anglex=0 src_angley=0 \
+    src_velox=2170 src_veloy=2170 \
+    src_nxwindow=0 src_nywindow=0 \
+    src_type=1 \
+    src_orient=1 \
+    src_injectionrate=1 \
+    rec_type_vz=0 \
+    rec_type_p=1 \
+    rec_int_vz=2 \
+    dtrcv=0.004 \
+    rec_delay=0.2 \
+    verbose=2 \
+    tmod=1.2 \
+    dxrcv=10.0 \
+    xrcv1=-1000 xrcv2=1000 \
+    dyrcv=10.0 \
+    yrcv1=-300 yrcv2=300 \
+    zrcv1=0 zrcv2=0 \
+    xsrc=0 ysrc=0 zsrc=900 \
+    ntaper=61 \
+    left=4 right=4 top=4 bottom=4 front=4 back=4 \
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/fmute3D_plane.sh b/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/fmute3D_plane.sh
new file mode 100755
index 0000000000000000000000000000000000000000..a6a56dc878fa615c35d52d36e09e48cb14082978
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/fmute3D_plane.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+#Mute the coda from the modeled first arrival
+../../../../fmute3D file_mute=farrmod_plane_rp.su file_shot=farrmod_plane_rp.su file_out=farr_plane.su above=2 shift=15 smooth=10 hw=5
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/marchenko3d_plane.sh b/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/marchenko3d_plane.sh
new file mode 100755
index 0000000000000000000000000000000000000000..b7c2d3a7376a360610c6806cdd479d1e997c9cb4
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_horizontal/marchenko3d_plane.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+#Marchenko using time data
+#../../../../marchenko3D file_shot=../reflx10y10.su verbose=2 \
+#    file_tinv=farr_plane.su \
+#    plane_wave=1 src_anglex=0 src_angley=0 src_velox=2170 src_veloy=2170 \
+#    niter=10 shift=15 smooth=10 hw=5 \
+#    file_green=green_plane_timeshot.su file_file_f2=f2_plane_timeshot.su
+
+#Marchenko using frequency data
+#../../../../marchenko3D file_shotw=../reflx10y10_W.bin verbose=2 \
+#    file_tinv=farr_plane.su \
+#    plane_wave=1 src_anglex=0 src_angley=0 src_velox=2170 src_veloy=2170 \
+#    niter=10 shift=15 smooth=10 hw=5 \
+#    file_green=green_plane_freqshot.su file_file_f2=f2_plane_freqshot.su
+
+#Marchenko using zfp data
+../../../../marchenko3D file_shotzfp=../reflx10y10_zfp.bin verbose=2 \
+    file_tinv=farr_plane.su \
+    plane_wave=1 src_anglex=0 src_angley=0 src_velox=2170 src_veloy=2170 \
+    niter=10 shift=15 smooth=10 hw=5 \
+    file_green=green_plane_zfpshot.su file_file_f2=f2_plane_zfpshot.su
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_tilted/execute_tilted.sh b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/execute_tilted.sh
new file mode 100755
index 0000000000000000000000000000000000000000..a8762fc23185c36ec41ad7fcb726869c493b98d0
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/execute_tilted.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+echo "Before running this file, run model.sh, makeR.sh and zfp.sh in the folder above"
+
+./farrmod_tilted_pos.sh
+
+./farrmod_tilted_neg.sh
+
+./fmute3D_tilted_pos.sh
+
+./fmute3D_tilted_neg.sh
+
+./marchenko3d_tilted_pos.sh
+
+./marchenko3d_tilted_neg.sh
+
+susum gplus_tilted_neg_zfpshot.su gmin_tilted_pos_zfpshot.su > green_total_zfpshot_neg.su
+susum gplus_tilted_pos_zfpshot.su gmin_tilted_neg_zfpshot.su > green_total_zfpshot_pos.su
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_tilted/farrmod_tilted_neg.sh b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/farrmod_tilted_neg.sh
new file mode 100755
index 0000000000000000000000000000000000000000..2ade699a3a4f1442796f73e77d43ed44e62e225e
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/farrmod_tilted_neg.sh
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+dt=0.001
+
+makewave fp=15 fmax=22 dt=${dt} file_out=wavefpmod.su nt=8192 t0=0.2 scale=1 scfft=0
+
+export OMP_NUM_THREADS=8
+
+#Model shot record in middle of model
+../../../../../fdelmodc3D/fdelmodc3D \
+    file_cp=../cp3d.su ischeme=1 iorder=4 \
+    file_den=../ro3d.su \
+    file_src=wavefpmod.su \
+    file_rcv=farrmod_tilted_neg.su \
+    plane_wave=1 npxsrc=201 npysrc=61 \
+    src_anglex=-10 src_angley=-5 \
+    src_velox=2170 src_veloy=2170 \
+    src_nxwindow=0 src_nywindow=0 \
+    src_type=1 \
+    src_orient=1 \
+    src_injectionrate=1 \
+    rec_type_vz=0 \
+    rec_type_p=1 \
+    rec_int_vz=2 \
+    dtrcv=0.004 \
+    rec_delay=0.2 \
+    verbose=2 \
+    tmod=1.2 \
+    dxrcv=10.0 \
+    xrcv1=-1000 xrcv2=1000 \
+    dyrcv=10.0 \
+    yrcv1=-300 yrcv2=300 \
+    zrcv1=0 zrcv2=0 \
+    xsrc=0 ysrc=0 zsrc=900 \
+    ntaper=61 \
+    left=4 right=4 top=4 bottom=4 front=4 back=4 \
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_tilted/farrmod_tilted_pos.sh b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/farrmod_tilted_pos.sh
new file mode 100755
index 0000000000000000000000000000000000000000..0de3ae65b2705ab39cd53eaa062bbe2413769c36
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/farrmod_tilted_pos.sh
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+dt=0.001
+
+makewave fp=15 fmax=22 dt=${dt} file_out=wavefpmod.su nt=8192 t0=0.2 scale=1 scfft=0
+
+export OMP_NUM_THREADS=8
+
+#Model shot record in middle of model
+../../../../../fdelmodc3D/fdelmodc3D \
+    file_cp=../cp3d.su ischeme=1 iorder=4 \
+    file_den=../ro3d.su \
+    file_src=wavefpmod.su \
+    file_rcv=farrmod_tilted_pos.su \
+    plane_wave=1 npxsrc=201 npysrc=61 \
+    src_anglex=10 src_angley=5 \
+    src_velox=2170 src_veloy=2170 \
+    src_nxwindow=0 src_nywindow=0 \
+    src_type=1 \
+    src_orient=1 \
+    src_injectionrate=1 \
+    rec_type_vz=0 \
+    rec_type_p=1 \
+    rec_int_vz=2 \
+    dtrcv=0.004 \
+    rec_delay=0.2 \
+    verbose=2 \
+    tmod=1.2 \
+    dxrcv=10.0 \
+    xrcv1=-1000 xrcv2=1000 \
+    dyrcv=10.0 \
+    yrcv1=-300 yrcv2=300 \
+    zrcv1=0 zrcv2=0 \
+    xsrc=0 ysrc=0 zsrc=900 \
+    ntaper=61 \
+    left=4 right=4 top=4 bottom=4 front=4 back=4 \
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_tilted/fmute3D_tilted_neg.sh b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/fmute3D_tilted_neg.sh
new file mode 100755
index 0000000000000000000000000000000000000000..9d5a622e98591eaf969312441e480ecbdac856be
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/fmute3D_tilted_neg.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+#Mute the coda from the modeled first arrival
+../../../../fmute3D file_mute=farrmod_tilted_neg_rp.su file_shot=farrmod_tilted_neg_rp.su file_out=farr_tilted_neg.su above=2 shift=15 smooth=10 hw=5
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_tilted/fmute3D_tilted_pos.sh b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/fmute3D_tilted_pos.sh
new file mode 100755
index 0000000000000000000000000000000000000000..a835de535bdbf82b04525710bb31c735ce584e29
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/fmute3D_tilted_pos.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+#Mute the coda from the modeled first arrival
+../../../../fmute3D file_mute=farrmod_tilted_pos_rp.su file_shot=farrmod_tilted_pos_rp.su file_out=farr_tilted_pos.su above=2 shift=15 smooth=10 hw=5
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_tilted/marchenko3d_tilted_neg.sh b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/marchenko3d_tilted_neg.sh
new file mode 100755
index 0000000000000000000000000000000000000000..bd7f41352a97e65718b8653d8f60e2a7946d3b8c
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/marchenko3d_tilted_neg.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+#Marchenko using time data
+#../../../../marchenko3D file_shot=../reflx10y10.su verbose=2 \
+#    file_tinv=farr_tilted_neg.su \
+#    plane_wave=1 src_anglex=-10 src_angley=-5 src_velox=2170 src_veloy=2170 \
+#    niter=10 shift=15 smooth=10 hw=5 \
+#    file_green=green_tilted_neg_timeshot.su file_file_f2=f2_tilted_neg_timeshot.su \
+#    file_gplus=gplus_tilted_neg_timeshot.su file_file_gmin=gmin_tilted_neg_timeshot.su
+
+#Marchenko using frequency data
+#../../../../marchenko3D file_shotw=../reflx10y10_W.bin verbose=2 \
+#    file_tinv=farr_tilted_neg.su \
+#    plane_wave=1 src_anglex=-10 src_angley=-5 src_velox=2170 src_veloy=2170 \
+#    niter=10 shift=15 smooth=10 hw=5 \
+#    file_green=green_tilted_neg_freqshot.su file_file_f2=f2_tilted_neg_freqshot.su \
+#    file_gplus=gplus_tilted_neg_freqshot.su file_file_gmin=gmin_tilted_neg_freqshot.su
+
+#Marchenko using zfp data
+../../../../marchenko3D file_shotzfp=../reflx10y10_zfp.bin verbose=2 \
+    file_tinv=farr_tilted_neg.su \
+    plane_wave=1 src_anglex=-10 src_angley=-5 src_velox=2170 src_veloy=2170 \
+    niter=10 shift=15 smooth=10 hw=5 \
+    file_green=green_tilted_neg_zfpshot.su file_file_f2=f2_tilted_neg_zfpshot.su \
+    file_gplus=gplus_tilted_neg_zfpshot.su file_gmin=gmin_tilted_neg_zfpshot.su
diff --git a/marchenko3D/demo/marchenko3D/oneD/plane_tilted/marchenko3d_tilted_pos.sh b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/marchenko3d_tilted_pos.sh
new file mode 100755
index 0000000000000000000000000000000000000000..3aa1a48dc34bf972f2ef8bb5065fd5265178f0bc
--- /dev/null
+++ b/marchenko3D/demo/marchenko3D/oneD/plane_tilted/marchenko3d_tilted_pos.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+#Marchenko using time data
+#../../../../marchenko3D file_shot=../reflx10y10.su verbose=2 \
+#    file_tinv=farr_tilted_pos.su \
+#    plane_wave=1 src_anglex=10 src_angley=5 src_velox=2170 src_veloy=2170 \
+#    niter=10 shift=15 smooth=10 hw=5 \
+#    file_green=green_tilted_pos_timeshot.su file_file_f2=f2_tilted_pos_timeshot.su \
+#    file_gplus=gplus_tilted_pos_timeshot.su file_gmin=gmin_tilted_pos_timeshot.su
+
+#Marchenko using frequency data
+#../../../../marchenko3D file_shotw=../reflx10y10_W.bin verbose=2 \
+#    file_tinv=farr_tilted_pos.su \
+#    plane_wave=1 src_anglex=10 src_angley=5 src_velox=2170 src_veloy=2170 \
+#    niter=10 shift=15 smooth=10 hw=5 \
+#    file_green=green_tilted_pos_freqshot.su file_file_f2=f2_tilted_pos_freqshot.su
+#    file_gplus=gplus_tilted_pos_freqshot.su file_gmin=gmin_tilted_pos_freqshot.su
+
+#Marchenko using zfp data
+../../../../marchenko3D file_shotzfp=../reflx10y10_zfp.bin verbose=2 \
+    file_tinv=farr_tilted_pos.su \
+    plane_wave=1 src_anglex=10 src_angley=5 src_velox=2170 src_veloy=2170 \
+    niter=10 shift=15 smooth=10 hw=5 \
+    file_green=green_tilted_pos_zfpshot.su file_file_f2=f2_tilted_pos_zfpshot.su \
+    file_gplus=gplus_tilted_pos_zfpshot.su file_gmin=gmin_tilted_pos_zfpshot.su
diff --git a/marchenko3D/demo/marchenko3D/oneD/shotmodel.sh b/marchenko3D/demo/marchenko3D/oneD/shotmodel.sh
index cd6c947964220e7a2bbfd5573a8d9adcae7eb9bc..4e8453ca11b0983e4430cddc3b9147eb26010836 100755
--- a/marchenko3D/demo/marchenko3D/oneD/shotmodel.sh
+++ b/marchenko3D/demo/marchenko3D/oneD/shotmodel.sh
@@ -9,7 +9,7 @@ makewave w=fw fmin=0 flef=5 frig=25 fmax=30 dt=$dt file_out=wavefw.su nt=4096 t0
 export OMP_NUM_THREADS=8
 
 #Model shot record in middle of model
-fdelmodc3D \
+../../../../fdelmodc3D/fdelmodc3D \
     file_cp=cp3d.su ischeme=1 iorder=4 \
     file_den=ro3d.su \
     file_src=wavefw.su \
@@ -34,7 +34,7 @@ fdelmodc3D \
     left=4 right=4 top=4 bottom=4 front=4 back=4
 
 #Model direct wave only in middle of model
-fdelmodc3D \
+../../../../fdelmodc3D/fdelmodc3D \
     file_cp=cphom3d.su ischeme=1 iorder=4 \
     file_den=rohom3d.su \
     file_src=wavefw.su \
diff --git a/marchenko3D/demo/marchenko3D/oneD/zfp.sh b/marchenko3D/demo/marchenko3D/oneD/zfp.sh
index 45f436827b4c75bfecd7b5c535053002b2930443..2fd8fb88d3b2651fac969afdd2487536b452ba0c 100755
--- a/marchenko3D/demo/marchenko3D/oneD/zfp.sh
+++ b/marchenko3D/demo/marchenko3D/oneD/zfp.sh
@@ -1,9 +1,15 @@
 #!/bin/bash
 
 # Pre-transform the data to the frequency domain
-#TWtransform file_in=reflx10y10.su file_out=reflx10y10_W.bin verbose=1 fmin=0 fmax=30 zfp=0 tolerance=1e-7
+#../../../TWtransform file_in=reflx10y10.su file_out=reflx10y10_W.bin verbose=1 fmin=0 fmax=30 zfp=0 tolerance=1e-7
 
 # Pre-transform the data to the frequency domain and apply zfp compression
-TWtransform file_in=reflx10y10.su file_out=reflx10y10_zfp.bin verbose=1 fmin=0 fmax=30 zfp=1 tolerance=1e-7
+../../../TWtransform file_in=reflx10y10.su file_out=reflx10y10_zfp.bin verbose=1 fmin=0 fmax=30 zfp=1 tolerance=1e-7
 
+if [ -e "reflx10y10_zfp.bin" ]
+then
+echo "Data are compressed. Deleting uncompressed data"
 rm reflx10y10.su
+else
+echo "Compressed data not found. Retaining uncompressed data"
+fi