I have gone through the your description. I can help you in reviewing and fixing the script.
I am 11 years experienced software professional, with 10 years working in India's top MNC. I have been part of the more than 9 successful core banking digital transformation journey across the Middle East and Africa as Technical Consultant. I am experienced in Django, Python, Web app development, Automation, Devops practices, implementation and maintenance, Oracle/MYSQL/Postgres, deployment in Websphere/JBOSS (JEE web apps) /Apache/AWS EC2.
Now I am starting full time freelance service. With my experience and skill, I assure you the most professional relation and on time delivery for all the projects.