move public.env.sh to config