Added reset cue support. Version 1.0