Add script for ToMaR input preparation