Db scripts working