Moved tab stuff around, set encoding