Added drop of indexes and some logging