add foundationDir symlink to code