fixed error ins script