add an enable flag + handling backup flag