updated aeg to use path generator