corrected script files