Small changes for running smig commands. I need to run some tests.