added ANN processing and changed some filenames