Full reformulation of script