Added check for exixting symlinks