added debug to rake task