- Added argparse, json, shutil, re, subprocess imports - Fixed NameError when running script - Script now works correctly