script for generating parameters