Added checks for required programs in shellscripts