Add ability to pass swift port to main.py