modified scripts to automatically generate filenames from problem parameters.