Added ability to select a drive to scan by passing it in as an argument.
Also refactored for increased readability.