Added animation core script
Updated file to use animation script