# \[BUG\] Pasting the name of a custom script in the Script Configuration

**URL:** <https://forum.inductiveautomation.com/t/bug-pasting-the-name-of-a-custom-script-in-the-script-configuration/107558>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [June 19, 2025, 2:08am UTC](https://forum.inductiveautomation.com/t/bug-pasting-the-name-of-a-custom-script-in-the-script-configuration/107558 "2025-06-19T02:08:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [June 19, 2025, 2:08am UTC](https://forum.inductiveautomation.com/t/bug-pasting-the-name-of-a-custom-script-in-the-script-configuration/107558/1 "2025-06-19T02:08:13Z")

</div>

I took a quick peruse around and didn't see this as previously reported.

Ignition 8.1.45

I was converting a message handler to a custom script as it didn't need to be a message handler so I copied over the code and then copied the name and I noticed it didn't rename the function. Instead it left it as `def (self):`

If you hit okay or apply it does indeed apply the name, but interesting that I have never noticed it before. 🤷‍♂️

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/5/452de464bdf379f95393d7452806395fa3450007.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 20, 2025, 4:31pm UTC](https://forum.inductiveautomation.com/t/bug-pasting-the-name-of-a-custom-script-in-the-script-configuration/107558/2 "2025-06-20T16:31:23Z")

</div>

Can you expand a little more on what you did?

I did some exploratory stuff around copy/pasting and I couldn't get it to break (because of that) though I did notice one bug that could lead to this state:  
If you clear out the name text field, any new name you enter is not used in the script editor until you type a _second_ character, despite the single character name being fine/valid.
