add uid, add .a files for the compiler, treat hidden files correctly