lib/command buildCommand now puts inputPath to end of command