init manifest and bg