Replaced periods with underscores in samplenames at top of the constants
definition in samplenames.