'onconnect' variable support