fixed scripts link
fixed the error log, added page recognition