added option to open links in same page
added test page
fixed path