updated rake task to take backup