implemented support for persistent plugin variables