Update document (WIP untested)
Grab and print version
Fix bugs