as @mdelgado said run
you didn’t type the reference image
mt_prep_snap 20170801
I suggest to run without any parameters at the beginning as a try,
Also I found that I already mentioned to you in this post,
Script