bug5 animation script commplete same issues as bug3 script