memory corrupt script