preliminary consolidation
simplify logic
multiple target handling
help output
quoting
removed use of $PWD for .