Done, plus I had to move the gbtemplate copying.