Updated the AGP plugin