Updated p970 script