978 pg script fix