added code stub to use user supplied directory inputs, instead of the current hardcore paths.
Better debug messages.