fixed exit code on --manifest option
remove unused Use statements