Move GUI option from config file to function argument instead. maingui()