script for generating empty db file