updating port for variable closes #1