fixed param file errors. added temp fix for last date errors for param files generating similarly named files