tweaks to bot script
Merge pull request #2072 from birarda/master

tweaks to bot script