makes monkey patch changes needed for offline ~ check comments in the commit for details