Remove useless shabangs.
Add scala support.

But I can't test it.
Explain function.
Fix broken import
Missing ;
Separate lang and program autodetect.
Use standart function to change extension.
Add short aliases for long options.