changed master.rb to replication.rb