altering script to accept named parameters and adding study parameter
Merge branch 'develop' of /software/vertres/git/origin/vr-codebase into develop