partial support of configurable factory reset card
some change to rpleth
partial factory reset support