Bug fix, template update

Inject content script before all other scripts
Removed unnecessary communication between background and content scripts
Comments for clarity