added temp file cleanup to backup scripts