added constants and forward declaration of functions and script to create ionization files