Got whole thing working and outputting animations!