Updated animations and timeinsf function