quitting with non-zero code on fail
added backup feature