don't use global var for urls
use global var for environment filter