Added back sourcing of env to pkg.sh