add --machines option to support v0.5.2