implementing scripts changes in ipython notebook