added exit in case page doesn't exist; link_extraction returns 1 -on linux- if this is encountered