diff --git a/agent_template.py b/agent_template.py
index 3e09cfd651d7339c028d0ff6939048d249972a17..b653f81f1f5af989639d1be9cda93da2f8f11894 100644
--- a/agent_template.py
+++ b/agent_template.py
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-import sys
 import json
 from rc_rmq import RCRMQ
 
diff --git a/create_account.py b/create_account.py
index 6869f98918653e01d15f587d89d0cc31024e639f..b9b906783e99f88d51f7945a5099baca8fc84b6e 100755
--- a/create_account.py
+++ b/create_account.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 import json
-import sys
 import rc_util
 import argparse
 import signal
diff --git a/prod_rmq_agents/dir_verify.py b/prod_rmq_agents/dir_verify.py
index fd2fa8842e891e80674c75e1d6f6a96440c0b1ef..89f98a4bd40892bcafaf2bd188c8188f8ee2cf5f 100644
--- a/prod_rmq_agents/dir_verify.py
+++ b/prod_rmq_agents/dir_verify.py
@@ -1,8 +1,6 @@
 #!/usr/bin/env python
 import os
-import sys
 import json
-import shutil
 import rc_util
 from pathlib import Path
 from rc_rmq import RCRMQ
diff --git a/prod_rmq_agents/get-next-uid-gid.py b/prod_rmq_agents/get-next-uid-gid.py
index 5fbd7e4de50c9edbb4889b654ac4360e06dd9765..56b9b811ca2e4a222d304e1baefb01dda90cdf8a 100644
--- a/prod_rmq_agents/get-next-uid-gid.py
+++ b/prod_rmq_agents/get-next-uid-gid.py
@@ -1,10 +1,6 @@
 #!/usr/bin/env python
-import sys
 import json
-import ldap
 import time
-import logging
-import argparse
 import rc_util
 from os import popen
 from rc_rmq import RCRMQ
diff --git a/prod_rmq_agents/git_commit.py b/prod_rmq_agents/git_commit.py
index 68513a8ae7161981dcd69fc8a38a3d3ba6528bdc..a88f55c99cf12dd774e5c29ffddb3017d4cfd825 100644
--- a/prod_rmq_agents/git_commit.py
+++ b/prod_rmq_agents/git_commit.py
@@ -1,7 +1,6 @@
 #!/usr/bin/env python
 import os
 import sh
-import sys
 import json
 import rc_util
 from rc_rmq import RCRMQ
diff --git a/prod_rmq_agents/subscribe_mail_lists.py b/prod_rmq_agents/subscribe_mail_lists.py
index 1f1c83a2883ae4c5ccc91a2c5a3a33b09c98d922..f0294f7158f13a541c6a588773bdfa04d1b8b911 100644
--- a/prod_rmq_agents/subscribe_mail_lists.py
+++ b/prod_rmq_agents/subscribe_mail_lists.py
@@ -1,9 +1,6 @@
 #!/usr/bin/env python
-import sys
 import json
 import smtplib
-import logging
-import argparse
 import rc_util
 from email.message import EmailMessage
 from rc_rmq import RCRMQ
diff --git a/prod_rmq_agents/user_reg_event_logger.py b/prod_rmq_agents/user_reg_event_logger.py
index 63b6f5bfb0e557a3030631c70d221b2d45aeef9e..1f14ca444f6abdca90a8eb7b7080c7e1d54f092c 100644
--- a/prod_rmq_agents/user_reg_event_logger.py
+++ b/prod_rmq_agents/user_reg_event_logger.py
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-import sys
 import json
 from rc_rmq import RCRMQ