Removed options[:profile] since it doesn't work in jruby