Fixed segmenter, added shebang