Revert "Modify rake tasks"

This reverts commit 6a6605cacb0e3e57cd71dc90b7d32e341cd9ef28.