add modules and bg polling