fixed typo in check_scripts