Sample direct inelastic reduction script for merlin

May need some local changes for linux machine