Switch ports with env var