Added sample and temperature output to filename - use %s or %t1
Fixed scope_key in preferences file