add sns support
minor tweaks (no functional changes)