Add envpath functions