Fixed Script for buttons.