use read_script in sudo fix