Updated to set backups to a temp dir