Trying to generate port icons for connection mode. Code was added as comment only.