Output now resets after saving