Added check for existence of params.shared
Merge branch 'master' into reportingFix