added processLinks option