Setting correct env port