Fixed rake task code and updated README

This should fix issue #4.