initial sync.rb file