updated  params to work with windows