Refactored to be usable as app config defined sm.
.
added a space to fix confused github client