webclient: refactoring env-specific variables to commonrc.sh