Created rake task for conditions