reinstated port evnironment variable