Adding script to create animation