change_par.sh now works for both for linux and osx