added perror for execvp