The modelines added match the emacs lines already present and also set the filetype to sh (just like the emacs lines).