fixed doc variables bug, beginning workflow edit