reduce need for envdir variables