isolate in custom_wpt_functions.inc the methods that need to be modified depending on the installation
add examples of output
Add more info for debugging and customisation
Fix data gathering by calling the API rather than the raw files