Now populating the commandArray.