Changing the character movement of the toons in the Toon Character Pack from the asset store?

hey guys. I bought the mentioned pack from the asset store. Now I have built a character movement script on my own before I bought the pack. Now I want to edit the movement script from the pack with my own movement but I have no clue how to get it. I really need help with it.
This is a part of my movement script:

if (Input.GetKeyDown (KeyCode.LeftArrow) && rigidbody.isKinematic == true){
            rigidbody.isKinematic = false;
            rigidbody.velocity = new Vector3(0, 0, speed);
            transform.rotation = Quaternion.LookRotation(rigidbody.velocity);
            rigidbody.angularDrag = 1;
}

And this is the movement part of the pack’s script:

        float h = Input.GetAxis("Horizontal");               
        float v = Input.GetAxis("Vertical");               
        anim.SetFloat("Speed", v);                           
        anim.SetFloat("Direction", h);                            
        anim.speed = animSpeed;                               
        currentBaseState = anim.GetCurrentAnimatorStateInfo(0);

by the looks of it the pack uses animator root motion to move the characters, if you look on the Animator object in the hierarchy is “apply root motion” checked?

ok got it now. Everything is working like it should. Except that it turns back to the animation state which it had on game start (idle). If I run forward the forward animation will trigger but if the char hits a collider it still is at forward animation and not idle or sth else. any idea how to set this up?