Avoid usage of magic global variable $argv