Can we also add On reconnect and On disconnect to this script?