Add support for custom AGL