add the bkDir code