Make allow agent configurable