From http://menugget.blogspot.in/2013/01/my-template-for-controlling-publication.html