Added support for local variables via an add_timer_wait direct command.