site-config.php -> site_config.php
Coding style revision pass
Add missing global
Add generation timing report at the end in debug mode