Cleaned up martian checker to support v4 or v6 based on user preference