added option to open in browser
better code style; added a script to check availability of commands on the system