Wrote script which merges branches to master. Not bomb-proof, but getting there.