Generate the target directory correc:y