made backup more universal