Queue commands appropriately.