Update commandstack.py