integrate with MSIOpen command
add generate document path logic