Split function calls db creation into its own script.