Replace dash in flag name with underscore in env var

Environment variables with dashes in them aren't too friendly. How about we replace the dash with an underscore?