added rake tasks to discard old data