adding the localdir env definition