Added emma support to operations.rb