add root dir to env