switch default ruby version to 2.0
have to require continuation now
fix loop to work with ruby 2.0