Select colnames and sub out the '.' when appropriate