Added event for when ports are assigned.