Using shell_exec() instead of backticks for shell processes