Revert "Removing manual triggering of rake command"

This reverts commit 5d0d368a2be0b4da6162c0a04ea0713f41d1fe7a.