replace shell_exec with exec