Introduced Shut Down script, now MacBook doesn't turn on

Hello,

I wanted to add a turn off button in my touchbar. I found a script, added it to BTT and, as soon as I saved it, the computer turned off. My intention was to be able to turn off the computer with a simple click on the touchbar, which now I see too risky.

What I did was to restart the Mac on recovery mode and erase some files with Terminal to prevent BTT from booting at startup. This worked fine, but when I reinstall it it loads my old preset and turns the computer off again.

Where can I find the preset and erase it? I'd like to only erase the action that's not working so, if that's possible, that'd be optimal.

Thanks!

OK, so I found the file, deleted it and started all over. Problem solved!