Re-run command generation
Woops, wrongly named command
Remove nil elements
Test key extraction