There is a lot more going on in that script (and it runs the call_command), and it is handy to run it as a shell script. That is why I'm imp importing it here.