substrate: add batch script to execute