Initial commit of the snapshot script