adds script for creation of extended db