add photo snap scrupt