disabled replace-global-scope to make modules work correctly.