Geoff: The script can only take information in the file themselves or the file name (I am not sure where it should take the information from in your case, as it certainly cannot guess where the master is coming from). I do not remember how BPP is creating the file name - maybe you can rename the raw darks so that they include the temperature in their file name, and then use the file name in the template (like &filename;-master;). Naturally if you have multiple files with the same temperature (for example different filters), you can write the template with the temperature in it (dark-master-&filter;_30C_&count;). But I do not see how I could find the temperature of the raw darks (they may not even have exactly the same temperature).
Not sure this is helpful, sorry
-- bitli