Added more input preparation functions for parcel mode, started writing a global input preparation script. Reused script from modspa for config file.