reverted recent "improvements" from backup library script