Add config option for whoosh storage