made port config be taken into account
allowing for card persistence