agi script changes.