Changed option to use sample data to a boolean