"animlib" not "str" (now correct variable).