GMK Full Template Integration 1

This is very buggy. Not sure if the bugs are in the script or code yet.