adds modgui/ support