bugfix: use project_name & project_dir for deriving the root directory for looking up generator scripts