redirected error message to stderr
added checks for cat, grep and awk to be installed
check the OS and ask the user if correct