@Elad You're welcome and sorry I couldn't be more help. I suggest you ask a new question but on
Unix & Linux (your version of Ubuntu is off topic here). Give one of the really simple scripts we tried here and the output of
ps
and ask why
ps
only shows
bash
and not the name of the script.