Shell-script stuff.