Added CASSCF building of input file