Some minor improvements, print command line to log in some use cases. If a target has missing parts, exit out (in some cases).