The whole thing is pretty ugly, but it works :smile: