now use os module to make specification of the lytaf_dir a bit more flexible.