fixed tools tools scripts according to recent changes in library backup script