making it chrome app compliant