updated syntax
added env variable to use in views