changes example script to a string