db script fix

Added readme and file support for the automatic db creator.