added symlink option and tar switch