consolidated everythin. One bash script that calls the python script
when needed. The python script can also be used as a standalone script.