Updated the program to support aspelc2