Fixed a problem with the env and volumes support.