<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cache_script(script, text, opts={}):
 """Cache script if it is not already cached."""

    global script_cache
    if script not in script_cache:
        update_script_cache(script, text, opts)
        pass
    return script