fix assert for script scoring