Shell scripts to execute on connection/disconnection