Added if definitions for animations

Oh boy!