Move -u option to the place after init command.
Enable to specify template_dir on init command (close gh-4).
Add codeset configuration.