Now loads images and animations dynamically