Reorder command imports.
Call 'setup copy' and 'setup register' separately.
Merge pull request #1462 from Toxaris/topic/copy-and-register

Call 'setup copy' and 'setup register' separately