Fixed the rake task to pull data with correct css class