added autorun setting for windows (not tested)