add possibility to get pagesource relative to the caller