Added global revert mode to refresh files on the fly