fix IPython shell scope issue and load IPython user config