set env on exec; demo partly works