Base   :   Added port_settings_changed method to main script.