Fix attribute error bug by defining terminal_button earlier
Fix attribute error bug by defining terminal_button earlier

stscieisenhamer/glue,saimn/glue,saimn/glue,stscieisenhamer/glue,JudoWill/glue,JudoWill/glue