implemented the -wdr option so it actually works now