added noLinks option