Allow multiple ports to be exposed

This should fix #2