Added error-checks for required executables.