Snap script