Keeping Capital Flowing: The Role of the IMF