Fixed the commands script. Fixed activity js script.

Added log scale to calendar color. Adjusted tab_distr to old convention
of columns.