added script
added agutils.pm which is used in the script