Updated script with push, pull and revert. Updated defs for openbox