Clone Setting Function
Merge branch 'refactor' of https://github.com/TFcis/ECHO_STATS into refactor