Replaced periods with underscores in samplenames definition.