most rewrite qenv.sh