adding chromeapp code