added greeting and other minor mods