buildCommand can now get few input files at once + some fixes