Figured out a solution that didn't require creating my own CGI. Instead, I will take advantage of the native apply.cgi hook to trigger service-event to handler. And I add a single line to the service-event file to call my script handler - because that script handler will get called anytime a service-event fires, the first that script does is to check for an NVRAM setting related to my addon. If that is missing, it exits immediately