Autodetect scripts with no filetype