starting script to dump database