Added support for preexisting GLT and "check formatting only" mode