Setting up reboot to android tv button

Hello, I’m still setting up everything up on my Nokia 8010 and one thing I couldn’t properly set up is a button to reboot back to android tv (described here Physical button execute script - #6 by vpeter ) and I need advice.

When I edit the file I’m probably doing something wrong since the keymap editor can’t access the file anymor.

I’m accessing the file via fsh (terminus on android)

mf
nano /storage/.kodi/userdata/keymaps/gen.xml
I insert at the end RunScript(/storage/reboot_to_android.py) and save it but it does not work. I already successfully did the the other step, how can I do this properly?