updated library to work with repositories
minor updates in SCM.R and version of scripts using new set of functions
Merge branch 'newperiod' into newperiodSQL
Example on howto convert SCM to use the new period code completed