new configuration
option to pass data directly rather than save to disk