Was substituting the wrong var for PORTSTREE.