updated to conform with manifest version 2 for extensions.