refactoring to account for changes in config for skynet