added script sql to replicate the db