add backup code dir option