Script verification fixes