cleaned up and added script for average and GestaltParser