Updated based on the change to sn_do.rb