Fixed the ls -la bug, waitpid