tricks is now called before config.