Fixed processing all arguments
Exit when root directory does not exist