}
public void scriptStarted(final ScriptHandler handler) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
final Bot bot = handler.getBot();
bot.inputFlags = Environment.INPUT_KEYBOARD;
bot.overrideInput = false;
final String acct = bot.getAccountName();
toolBar.setTabLabel(bots.indexOf(bot), acct == null ? Messages.TABDEFAULTTEXT : acct);
if (bot == getCurrentBot()) {
updateScriptControls();
setTitle(acct);
}