simplified db resetting script