Upgrade to Ruby 2.0
Use safesystem