Reverts many changes