Modified script for yii config