updated vars to support multiple sessions
tested multi-vars support