Made Port Check For Environment Variable