Fixed ade.cc so that correct ade.prm file is generated