Improved code and error handling in 158 208 runbackup scripts