Fixed double exposing of produced outputs
When scoring failed in fit-score, produced outputs were attempted to be saved twice (if you enabled that through an argument), which then failed the second time. I cleaned up a bit code here and order of operations for all commands.