I did a proof of concept of this and was able to implement it globally in one place. Need to handle any errors if something goes wrong.