updated sql scripts that were hard coding database name