Use global config file in addition to psf file
The PSF is useful for setting environment variables that are read in no matter where parametric.exe is called from (like windchill), but when you change license configurations the file is overwritten and your changes are lost, and the changes have to exist in every different PSF that is used. Instead of all that, add a separate config file (xml, perhaps?) that will be read in by parametric.exe, no matter which PSF is used. For full implementation, allow the user to specify a config file other than the default in the command line.
Basically, it's just a second PSF being read in, but it is independent of PSF selection and does not get overwritten by a reconfiguration.
