Made it work as an extension

removed things, changed things, did things