modify rake script