wrapping the storeconfig call in an if was not sufficent - needs to be in conditionally loaded class