setting path in MAC