Fix sample generation directory