Revert "bugfix: set_script should use the back value not the serialized script!"

This reverts commit 6517772bd92f987940ef29cd81f2d68674be68d0.