The file is modified to deal with CEIS and CEDIS
updated