fixes in constructor, adding env configurations read from workflow dir