Creating a Command from a Template