db statistics script added