Fix shell scripts for older Arduino