added buttons to activate script