Reorganised content scripts to require less permissions