collapse_agp.pl Version 1.0 created