fix ag-setup.sh