fixing parameter files and initialization functions