updated database.sh script to public repo enjoy