# Current software field changed after running script module: how to avoid?

**URL:** <https://hub.mender.io/t/current-software-field-changed-after-running-script-module-how-to-avoid/2253>\
**Category:** General Discussions\
**Created:** [July 29, 2020, 1:24pm UTC](https://hub.mender.io/t/current-software-field-changed-after-running-script-module-how-to-avoid/2253 "2020-07-29T13:24:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PJK](https://avatars.discourse-cdn.com/v4/letter/p/bc79bd/32.png) [@PJK](https://hub.mender.io/u/PJK)\
**Post date:** [July 29, 2020, 1:24pm UTC](https://hub.mender.io/t/current-software-field-changed-after-running-script-module-how-to-avoid/2253/1 "2020-07-29T13:24:12Z")

</div>

To remote erase a 5th data partition that we have created on our Menderized client devices, I’ve been testing with a remote wipe script that is uploaded as a script Artifact.

The script is nothing special, it just executes a “rm -rf” command on the root of that fifth partition.

But just checking the device list of the Mender Server I noticed that the Current software column of my test device now has wiper-3.7.0 as the version of the software (firmware) instead of the 3.7.0 it had before the script was executed.

Is there a way to change the script or Artifact so that it doesn’t change the “Current software” field? Or am I doomed to always having to create my script artifacts with the same version number/ID as I used for the actual firmware?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 29, 2020, 3:07pm UTC](https://hub.mender.io/t/current-software-field-changed-after-running-script-module-how-to-avoid/2253/2 "2020-07-29T15:07:16Z")

</div>

Hi @PJK, at the moment there is nothing that can be done about this but we are working on implementing a better system. @kacf do you have any details you can share?  
Drew

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [July 30, 2020, 9:20am UTC](https://hub.mender.io/t/current-software-field-changed-after-running-script-module-how-to-avoid/2253/3 "2020-07-30T09:20:24Z")

</div>

Yes, improving this experience has already been broken down into concrete requirements, and is development ready, but the implementation has not been started yet. I cannot give an estimate of when it will be finished unfortunately, but you can follow [this ticket](https://tracker.mender.io/browse/MEN-2462) to see the progress.
