pb3 script changes