Automating content preparation