better script error