changing port settings