fix pull database script
make reset passwords faster