added global variables for context, port and environment