use script file to manipulate db