tweaking rwkos.py for windows xp compatiblity