better script checker