Removed check for trailing slashes in indir and outdir