Update clcmd.py with import os and glob where needed