extract addCommands
extract buildContainer