Remove debugging commands from shared.py