Removed shell=True from subprocess, and correctly switch commands to lists.
Variable name where not following PEP8 convention