modded new button scaffolding for better control over buttons