added backup and saftey check to hasher script