I'll try to clean this up soon. It definitely works the way you want it to right now though?