call for sql scripts changed in aagnodes