adding better python buffer execution,  docview mode for .docx files