making it so that port flags work again
Merge pull request #1 from mikedory/port_happiness

making it so that port flags work again