Updated dbcreate script.
Rules to work better.