Tweaked main file. Now has command-line option for either SVN or folder based operation, and switches at run-time between them.