add PROJECT_ROOT setting
chdir to project root