port EDeN to use from_work_dir