Add scripting collector for the Pages.
Fix "open" function and fallback on dependency for a better OS support.