Created script for animations