Add parent ID into environment doc vars