added variable for ipython notebook and swc