First working version of the extension