Add the rake task run loop