Fixed min max for animations but seems to hang from command line