finished to eliminate the $projectDirectory