fixes #216: package: bug fixes;
fixes #219: complete cortex build;
fixes #217: complete command install