rearange set commands