Got parameter passing working in batch mode. It's ugly but it works. Also created folder of wrappers.