-Fixed utf-8 support for html printing
-Updated database scripts
-Fixed local run detection