Function modification

Made the AUTH var use an external reference and corrected some bot and
chatter corrections for bot