Set the correct format for commands