Got it working, kinda.