update to python tool to create glab files