Fixed shebang, added option to show available encodings