Added setAnimation function to replace multi-arg animation=; animation= now only takes path arg