updated to use a configuration based on sconf