Basically works, wip on refactoring some hardcoded url