create a script for db initialization