startign to record all the gl commands in the Batch