changed serial port logic to auto select port based on settings