added support for multiple portstrees