cleaned up rake tasks and added dedup task