change script files mode