FIX: if the called script creates a global 'options'
FIX: if the called script creates a global 'options'

Patch by mennucc1@debian.org

anqilu/memory_profiler,wfxiang08/memory_profiler,olivetree123/memory_profiler