Added script for database