Made setting port easier