Threadsafe ENV interaction

Closes #6
Do you need this default argument? It looks like it's only used in one place.