# Adding state scripts to mender-configure artifacts generated via GUI

**URL:** <https://hub.mender.io/t/adding-state-scripts-to-mender-configure-artifacts-generated-via-gui/6305>\
**Category:** General Discussions\
**Tags:** raspberry-pi-3, mender-client, mender-configure\
**Created:** [October 30, 2023, 12:35pm UTC](https://hub.mender.io/t/adding-state-scripts-to-mender-configure-artifacts-generated-via-gui/6305 "2023-10-30T12:35:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [October 31, 2023, 10:33am UTC](https://hub.mender.io/t/adding-state-scripts-to-mender-configure-artifacts-generated-via-gui/6305/2 "2023-10-31T10:33:42Z")

</div>

Hi @dmitrijsan,

Thanks for reaching out and the perfect description. While I don’t have a direct solution for you, two pointers to possibly proceed:

- it is possible to manually create `mender-configure` artifacts using the `mender-artifact` tool (in fact, this is required if you want to use signing). This way you can add state scripts.
- alternatively, think about extending the `mender-configure` update module to suit your needs. The mechanism is invoked with the Update Module filename as the identification, so as long as you keep it you can modify it as you wish. This way you could both keep the UI mechanisms, as well as avoid shipping additional scripts.

Greetz,  
Josef

---

_[View the full topic](https://hub.mender.io/t/adding-state-scripts-to-mender-configure-artifacts-generated-via-gui/6305)._
