update linux and windows scripts