added scripterror