renamed targetDir to projectDir