I don't have the source code available at this point. That can be on my list for a future post, but the script is fired by looking at the Event Log.
For the PID file problem, would you mind restarting the computer and then paste the contents of the vsslog.log file from the time you started the computer until you are logged in? That would help me troubleshoot what the problem may be.
Thank you for giving this a try! ”