fix mifos scripts