Made some changes to the deploy rake task.