improved backup zipping
improved error handling code