Fix env to use dict syntax