add suport for multiple script load and update  failed ut

add suport for multiple script load and update  failed ut