Fixed walking, running and idle animations

Fixed walking, running and idle animations and minor script fixes