Initial checkin of dbscript

Initial check in of db script.