Add autobuild script.

I use this for (re)building latex papers.