Added ability to select ports.