Everything works now, thanks to jonashaag.