Updated example.
Write a mainfile.