Found bug: Initial funtions need to populate ENV too