change the system() to execve()