Only create database when checked.