changed tidy script.