Adding port_envs def