modified for Chrome App Launcher