projectDir is now an absolute path