populate SQL script