diff --git a/tasks.py b/tasks.py
index 275052795e583108701fe28cc96ae647be7016f3..b2eddf3bf10f22e55af427fecc9ccbc0184675ac 100644
--- a/tasks.py
+++ b/tasks.py
@@ -91,7 +91,7 @@ def celery_certify_account(json, session):
     fullname= json['fullname']
     queuename= rc_util.encode_name(username)
     updated_by= f'{username}'
-    host= 'login005'
+    host= vars.app_host 
 
     print("CERTIFY : "+time.strftime("%m-%d-%Y_%H:%M:%S") + '\tUser ' + username + ' added to queue')
     send_msg('certifying account', room)