Added target directory param