run scripts for win/linux