Added script callbacks for player connection/disconnection