Use static environment at function application