@mitu ok i try to put it before emulationstation runs, basically the script erase an empty file that i use with an if conditional, i make an option that let me pause the music, if i activate it, the if creates an objects and while the file exists the music stop playing and if i push again the if erase the file and the music continues. i want that the raspberry erase that file if we have music paused so the music start on the startup and i can activate pause again in the menus.