another helper script for reregistering - also save the -Embedding debug command line argument for PigSrv