using manifest to determine if the code is enabled on the page