updated ctl.py to add a command for refreshing queues.