Add dual sequential command
Minor code improvements