fixed background js to execute when run as individual users