Added improved env functionality, played w/ making iPython work correctly