tweaks to bot script