Added some more functions to gametemplate
added array indexing of commands