better port handling and procfile