Why do I suck at regex now
Pretty sure I've sorted index.php now