diff --git a/README.md b/README.md
index 55f5f76939bdbc94bf6023ca74c7ccabb7633c4e..8132a23fc9e3d44e74f8380fa5e3dcc3918ecc3b 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ Uses OpenAI API to determine if a research idea is reasonable and novel for the
 ## Deploy
 ### Docker-compose
 ```
-docker-compose up
+docker-compose up --rebuild --force=recreate
 ```
 
 You can use the `-d` flag at the end to runin in detached (background) mode
@@ -17,4 +17,6 @@ To stop the app,
 
 ```
 docker-compose down
-```
\ No newline at end of file
+```
+
+or ctrl+c once to gracefully exit, twice to ungracefully exit. 
\ No newline at end of file
diff --git a/app.py b/app.py
index aca557d0f79d9afab0d7e7e0087d471c4323c2df..2d6aae8cf1025aa6da7f6512a9a030fa2053c900 100644
--- a/app.py
+++ b/app.py
@@ -3,7 +3,7 @@
 import streamlit as st
 from langchain.vectorstores import FAISS
 from langchain.embeddings import OpenAIEmbeddings
-from langchain.chat_models import ChatOpenAI
+from langchain.chat_models import AzureChatOpenAI
 from langchain.prompts import (
     ChatPromptTemplate,
     SystemMessagePromptTemplate,
@@ -17,9 +17,13 @@ import os
 
 # secrets
 def manage_sensitive(name):
+    v1 = os.getenv(name)
     secret_fpath = f'/run/secrets/{name}'
     existence = os.path.exists(secret_fpath)
     
+    if v1 is not None:
+        return v1
+    
     if existence:
         v2 = open(secret_fpath).read().rstrip('\n')
         return v2
@@ -72,7 +76,7 @@ st.markdown("""
 
 Brought to you by the Anesthesiology MPOG Steering Committee, Informatics, and Data Science teams
 
-_Not affiliated with MPOG. Uses external resources. Not approved for use with PHI or sensitive data._
+_Not affiliated with MPOG. Not approved for use with PHI._
 
 All submissions are recorded for potential review by the MPOG Steering Committee.
 
@@ -89,9 +93,24 @@ You can trick generative AIs into saying whatever you want. If you succeed in tr
 As always, use your best judgment. An AI can do the wrong thing at the worst time.
 """)
 
-chat = ChatOpenAI(temperature=0, model_name="gpt-3.5-turbo")
+chat = AzureChatOpenAI(
+    openai_api_base="https://nlp-openai-svc.openai.azure.com",
+    openai_api_version="2023-03-15-preview",
+    deployment_name="ChatGPT35Turbo",
+    openai_api_key=OPENAI_API_KEY,
+    openai_api_type = "azure",
+    temperature=0
+)
 # Load vectorstore
-embedding = OpenAIEmbeddings()
+embedding = OpenAIEmbeddings(
+                deployment="AdaEmbedding2",
+                model="text-embedding-ada-002",
+                openai_api_base="https://nlp-openai-svc.openai.azure.com",
+                openai_api_type="azure",
+                openai_api_key=OPENAI_API_KEY,
+                openai_api_version="2023-03-15-preview",
+            )
+
 vectordb = FAISS.load_local("faiss_index", embedding)
 docsearch = vectordb.as_retriever()
 
diff --git a/deploy/Dockerfile b/deploy/Dockerfile
index 7f189316cba8c08cd3553c5fde77fd0cf21ec98d..d5ef46467a5c57d73550ff2ef8a49bee573d4b1e 100644
--- a/deploy/Dockerfile
+++ b/deploy/Dockerfile
@@ -29,4 +29,4 @@ EXPOSE 8501
 
 HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
 
-ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
\ No newline at end of file
+ENTRYPOINT ["./startup.sh"]
\ No newline at end of file
diff --git a/requirements.txt b/requirements.txt
index fb3924b73d4cec751e7dd6d4bca6dc7b4bb521a8..9cb511d878d4106c023efe1f009ea9be84d3b468 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,7 +2,7 @@
 # This file is autogenerated by pip-compile with Python 3.10
 # by the following command:
 #
-#    pip-compile requirements.in
+#    pip-compile
 #
 aiohttp==3.8.4
     # via
@@ -24,7 +24,7 @@ blinker==1.6.2
     # via streamlit
 cachetools==5.3.0
     # via streamlit
-certifi==2022.12.7
+certifi==2023.5.7
     # via requests
 charset-normalizer==3.1.0
     # via
@@ -62,7 +62,7 @@ jinja2==3.1.2
     #   pydeck
 jsonschema==4.17.3
     # via altair
-langchain==0.0.155
+langchain==0.0.179
     # via -r requirements.in
 markdown-it-py==2.2.0
     # via rich
@@ -166,9 +166,7 @@ toolz==0.12.0
 tornado==6.3.1
     # via streamlit
 tqdm==4.65.0
-    # via
-    #   langchain
-    #   openai
+    # via openai
 typing-extensions==4.5.0
     # via
     #   pydantic
diff --git a/resolv.conf b/resolv.conf
new file mode 100644
index 0000000000000000000000000000000000000000..c5cad65fa08522b150c7d49b118f809186134cbe
--- /dev/null
+++ b/resolv.conf
@@ -0,0 +1,2 @@
+nameserver 172.29.160.1
+options ndots:0
\ No newline at end of file
diff --git a/startup.sh b/startup.sh
new file mode 100755
index 0000000000000000000000000000000000000000..7407ccf0f73a94d21e4033d7a86507e781d64784
--- /dev/null
+++ b/startup.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cp -f ./resolv.conf /etc/resolv.conf
+streamlit run app.py --server.port=8501 --server.address=0.0.0.0
\ No newline at end of file