second script to insert values into db