Remove part debug, add option to print manifest and exit