convert interceptor to a generic configurer to run once on init