initialize mbox settings with original code