Revert "Revert "Update script.rb""

This reverts commit 1f2ede6ded47bad0a8b11198a77f7e1516c6b070.