added a script to check availability of commands on the system
better code style