Improvement for cywin ps