Using in-place layers makes it impossible to see the state of an individual layer, so this script rewrites them into each having their own output layer.