add check to make sure prj-dir exists