Add support for PROJECT_DIR environment variable to dmt.