Added ag plugin