# problem in running custom scripts in profile editor options

**URL:** <https://forums.digi.com/t/problem-in-running-custom-scripts-in-profile-editor-options/22101>\
**Category:** XBee - DigiMesh\
**Tags:** flash, micropy, python, bundle, xbee3\
**Created:** [January 4, 2021, 10:46am UTC](https://forums.digi.com/t/problem-in-running-custom-scripts-in-profile-editor-options/22101 "2021-01-04T10:46:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANOM](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@ANOM](https://forums.digi.com/u/ANOM)\
**Post date:** [January 4, 2021, 10:46am UTC](https://forums.digi.com/t/problem-in-running-custom-scripts-in-profile-editor-options/22101/1 "2021-01-04T10:46:52Z")

</div>

we are using xbee3 digimesh micro module  
firmware version :300B

In XCTU software create Configuration profile ,we want to run a post-processing script after transferring file system. i want to run unbundle and bundle before starting my python code.  
Is it possible to run unbundle and bundle as a script?  
or any other way to do this?

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [January 4, 2021, 12:24pm UTC](https://forums.digi.com/t/problem-in-running-custom-scripts-in-profile-editor-options/22101/2 "2021-01-04T12:24:03Z")

</div>

You can create a profile using XCTU that includes the desired compiled Micro Python files that you want loaded.

---

<div class="post-metadata">

**Author:** ![ANOM](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@ANOM](https://forums.digi.com/u/ANOM)\
**Post date:** [January 7, 2021, 9:49am UTC](https://forums.digi.com/t/problem-in-running-custom-scripts-in-profile-editor-options/22101/3 "2021-01-07T09:49:53Z")

</div>

Yes i have made desired micropython files that i want to load, its successfully replacing in the file system manager.  
Issue we are facing :- As we couldn’t unbundle old bundled files even though we have loaded new desired micropython files it will run with old bundled files.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [January 7, 2021, 10:59am UTC](https://forums.digi.com/t/problem-in-running-custom-scripts-in-profile-editor-options/22101/4 "2021-01-07T10:59:47Z")

</div>

You need to edit the Profile you are working with in the XCTU profile Editor and first, remove the old files and then upload the New files into the Profile. Then save the profile again.
