Ctd r3fix

Removed check for trailing slashes in indir and outdir