modify mk files