changed rake tasks to support categories