Additional corrections.
Corrections in create_script() function.