@tpo1990 I added your recent changes to my script. A quick note, my RetroPie user is not 'pi' so I had to modify the function remove_rtcw from: function remove_rtcw () { rm /home/pi/.wolf rm /home/pi/RetroPie/roms/ports/rtcw/*.so rm -R /home/pi/RetroPie/roms/ports/vm } to: function remove_rtcw() { rm ${HOME}/.wolf rm ${HOME}/RetroPie/roms/ports/rtcw/*.so rm -R ${HOME}/RetroPie/roms/ports/vm } for the function to work for me. Thank you for the good work with this!