Write main to /tmp/Main