Now it actually works and is less stupid.