update scripts for mksh
fix fish script