more work on hooking up all of the functionality options to the extension