added buttons and script