modified rolify.rb