setup waitfg