update example repository executable paths, add error handling and error output for failed commands