params to work on both linux and mac