Replace hard-coded list of commands with autogenerated one