Logging some variables

in order the send them to the client for reviving the HTML
Fixing the package for proper installation

There were a couple of dependencies missing.