using shell_exec() and echoing the output