Added documentation comment to analysis script.
Moved path initializiation to vr_initialize function.
Added vr_checkconfig function to validate configuration structure.