Append new commands and fix bugs in old commands