Updated script to kotlin snapshot