Changed rakefile to created temp and backup dirs