I would like to execute a shell script or maybe a python function when a new connection is established.