Implemented check for vital programs

[ ADDED ]  Check for all the vital programs to ensure script runs
reliably

[ ADDED ]  Added documentation reflecting the usage of file
descriptor '4'