Fix markup and grammar.
Tidy up imports; use Python function rather than os.system.