moved savemap and addhex