fix scripts in linux.