fix mk script