Added trials parameter to makefile for script generation.