snapshot of script