make publications work - in a very hacky (stage 1) way