synched live stream changes

copied regex, function calls and python code embeding in xml.raw post
refer bug etc etc