added output of scales for the processes to produce_macros