python scripts to create and fill db and sql files