adding global revert mode to init file