second attempt at refactoring rake task. Added index to karma points, removed additional indices