add driftfile and statsdir vars