Added automatic local link recognition
Added setting for automatic local links