Modified script 9