I don't understand your question clearly.
But what I understood is this:
Shell script wasn't running for you until you added zero!
/storage/emulated/0/
(talking about zero in the end)..
If yes then, this is how shell script works (you have to add 0 to access general storage)...
But there's a...
+ Ever felt like, Why is there no subscribe button on Macrodroid so you can receive notifications from your favourite macro creators?
× Well say no more, because the wait has been over and now you can actually receive the notification of from the your favourite macro creators about updated or...