expanded the bot identification logic