[fix] Scripts init

* Fixed script initialization for new pwf