generating script for mergedepthtest