added var config to general dir