Now the script to create the dot file actually works.