Add ftdetect script.