Use require_once
Make variable names consistent
Fix extractMetadata() log spam
Watch the page by default