start writing conversion script