fixing rake script