added live editor for embeded use