made query more efficient in list_vhosts.sh and removed variables from list_versions.sh, added one in loadenv.sh