added buttons and button animation using scripting