On Startup hook -> execute script?

Hi, we running Jupyterlab through a Docker triggered from Kubeflow.

Currently we have a startup script bound to a Notebook event by adding a .py script into:


However we would want to bind this to when Jupyterlab has been successfully started. How can we accomplish that? We dont use Jupyterhub.

Thank you