moved dump script code into module, added support for time slicing a live medium