Great. Now that you've got it all working, perhaps you might want to consider re-wiring it correctly so you don't need a rube goldberg solution to get it to work.