** Added undefined check for FNI_CHATBOT_HOST setting